summaryrefslogtreecommitdiff
path: root/integration-tests/test-ebics-highlevel.py
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-09-08 14:16:26 +0200
committerMS <ms@taler.net>2020-09-08 14:16:26 +0200
commit0c3208483bf2d8984ef20f2fc416ef31865197a6 (patch)
tree51bcf18811e07d3e101e01ad4b948afc22f6f3a2 /integration-tests/test-ebics-highlevel.py
parent60f36bba98bcf6ec3c51fc2d4dd88a42771891ff (diff)
downloadlibeufin-0c3208483bf2d8984ef20f2fc416ef31865197a6.tar.gz
libeufin-0c3208483bf2d8984ef20f2fc416ef31865197a6.tar.bz2
libeufin-0c3208483bf2d8984ef20f2fc416ef31865197a6.zip
reduce code
Diffstat (limited to 'integration-tests/test-ebics-highlevel.py')
-rwxr-xr-xintegration-tests/test-ebics-highlevel.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/integration-tests/test-ebics-highlevel.py b/integration-tests/test-ebics-highlevel.py
index da4306c9..4d4f2933 100755
--- a/integration-tests/test-ebics-highlevel.py
+++ b/integration-tests/test-ebics-highlevel.py
@@ -6,7 +6,7 @@ import os
import hashlib
import base64
-from util import startNexus, startSandbox
+from util import startNexus, startSandbox, assertResponse
# Steps implemented in this test.
#
@@ -66,18 +66,6 @@ def fail(msg):
print(msg)
exit(1)
-
-def assertResponse(response):
- if response.status_code != 200:
- print("Test failed on URL: {}".format(response.url))
- # stdout/stderr from both services is A LOT of text.
- # Confusing to dump all that to console.
- print("Check nexus.log and sandbox.log, probably under /tmp")
- exit(1)
- # Allows for finer grained checks.
- return response
-
-
startNexus(NEXUS_DB)
startSandbox()