diff options
author | MS <ms@taler.net> | 2020-07-15 18:38:24 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-07-15 18:38:24 +0200 |
commit | 46b6ebf9890780c2bb98ad5204e497bbc36fe989 (patch) | |
tree | 419b015be18121bdfcf24838d78fbbbe9004cebc /bin | |
parent | 5c6c387b2d3c39896781603373f9aecf6a427465 (diff) | |
download | deployment-46b6ebf9890780c2bb98ad5204e497bbc36fe989.tar.gz deployment-46b6ebf9890780c2bb98ad5204e497bbc36fe989.tar.bz2 deployment-46b6ebf9890780c2bb98ad5204e497bbc36fe989.zip |
fixme
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/taler-config-instances | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/taler-config-instances b/bin/taler-config-instances index 7a1ff8b..6deb106 100755 --- a/bin/taler-config-instances +++ b/bin/taler-config-instances @@ -4,6 +4,9 @@ import requests MERCHANT_BACKEND_BASE_URL = "http://localhost:9966" INSTANCE_CONFIG_URL = "{}/private/instances".format(MERCHANT_BACKEND_BASE_URL) + +# FIXME: fetch base URL from: TALER_ENV_MERCHANT_BACKEND! + def expectResponse(response, expected_status_code): if response.status_code != expected_status_code: print("Configuration failed on URL: {}".format(response.url)) |