diff options
Diffstat (limited to 'integration-tests/test-bankAccount.py')
-rwxr-xr-x | integration-tests/test-bankAccount.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/integration-tests/test-bankAccount.py b/integration-tests/test-bankAccount.py index 6045f3dc..a640aa86 100755 --- a/integration-tests/test-bankAccount.py +++ b/integration-tests/test-bankAccount.py @@ -6,7 +6,7 @@ import os import hashlib import base64 -from util import startNexus, startSandbox +from util import startNexus, startSandbox, assertResponse # Nexus user details USERNAME = "person" @@ -41,18 +41,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() |