diff options
author | Marcello Stanisci <ms@taler.net> | 2020-04-29 17:11:24 +0200 |
---|---|---|
committer | Marcello Stanisci <ms@taler.net> | 2020-04-29 17:11:24 +0200 |
commit | f49ae7d5613adc3b6329d04d9c842a7801f97baf (patch) | |
tree | 4f64a89b9574f5e6096ee57683c46eea18b1c424 /integration-tests/test-ebics.py | |
parent | 82870057112f43f36483542f8b2574e8723113c0 (diff) | |
download | libeufin-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-x | integration-tests/test-ebics.py | 8 |
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 |