libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit fb58c4a2a23092fb464551aa5b554b72996a24ba
parent a23e9954b0fe459684208f0359984c9d5b5e1e4d
Author: Marcello Stanisci <ms@taler.net>
Date:   Mon,  4 May 2020 18:32:04 +0200

Terminate services after test passes.

Diffstat:
Mintegration-tests/test-ebics.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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!")