summaryrefslogtreecommitdiff
path: root/integration-tests/test-ebics.py
diff options
context:
space:
mode:
authorMarcello Stanisci <ms@taler.net>2020-04-29 17:11:24 +0200
committerMarcello Stanisci <ms@taler.net>2020-04-29 17:11:24 +0200
commitf49ae7d5613adc3b6329d04d9c842a7801f97baf (patch)
tree4f64a89b9574f5e6096ee57683c46eea18b1c424 /integration-tests/test-ebics.py
parent82870057112f43f36483542f8b2574e8723113c0 (diff)
downloadlibeufin-f49ae7d5613adc3b6329d04d9c842a7801f97baf.tar.gz
libeufin-f49ae7d5613adc3b6329d04d9c842a7801f97baf.tar.bz2
libeufin-f49ae7d5613adc3b6329d04d9c842a7801f97baf.zip
Integration test.
Up to the point where the test asks for cardinality of history set and fails. The failure is due to the Sandbox that uses a hardcoded response.
Diffstat (limited to 'integration-tests/test-ebics.py')
-rwxr-xr-xintegration-tests/test-ebics.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/integration-tests/test-ebics.py b/integration-tests/test-ebics.py
index 67368932..5c5fbbbb 100755
--- a/integration-tests/test-ebics.py
+++ b/integration-tests/test-ebics.py
@@ -110,6 +110,14 @@ resp = post(
assert(resp.status_code == 200)
# FIXME: assert that history is EMPTY at this point!
+resp = get(
+ "http://localhost:5001/users/{}/history".format(USERNAME)
+)
+
+assert(
+ resp.status_code == 200 and \
+ len(resp.json().get("payments")) == 0
+)
#6 Prepare a payment (via pure Nexus service)
#7 Execute such payment via EBICS