summaryrefslogtreecommitdiff
path: root/integration-tests/test-ebics.py
diff options
context:
space:
mode:
authorMarcello Stanisci <ms@taler.net>2020-05-04 18:32:04 +0200
committerMarcello Stanisci <ms@taler.net>2020-05-04 18:32:04 +0200
commitfb58c4a2a23092fb464551aa5b554b72996a24ba (patch)
tree2f2450d9bf18fc812cfb479623471c8697b859d7 /integration-tests/test-ebics.py
parenta23e9954b0fe459684208f0359984c9d5b5e1e4d (diff)
downloadlibeufin-fb58c4a2a23092fb464551aa5b554b72996a24ba.tar.gz
libeufin-fb58c4a2a23092fb464551aa5b554b72996a24ba.tar.bz2
libeufin-fb58c4a2a23092fb464551aa5b554b72996a24ba.zip
Terminate services after test passes.
Diffstat (limited to 'integration-tests/test-ebics.py')
-rwxr-xr-xintegration-tests/test-ebics.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/integration-tests/test-ebics.py b/integration-tests/test-ebics.py
index 551ab282..c1b02a83 100755
--- a/integration-tests/test-ebics.py
+++ b/integration-tests/test-ebics.py
@@ -50,7 +50,7 @@ def checkPorts(ports):
for i in ports:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
- s.bind(i)
+ s.bind(("0.0.0.0", i))
s.close()
except:
print("Port {} is not available".format(i))
@@ -253,4 +253,6 @@ resp = assertResponse(
)
assert(len(resp.json().get("payments")) == 1)
+nexus.terminate()
+sandbox.terminate()
print("Test passed!")