summaryrefslogtreecommitdiff
path: root/integration-tests/test-ebics.py
diff options
context:
space:
mode:
authorMarcello Stanisci <ms@taler.net>2020-04-30 17:48:35 +0200
committerMarcello Stanisci <ms@taler.net>2020-04-30 17:48:35 +0200
commit5005d9eb5a0dc893fb7bb451f0625950f86bd11d (patch)
tree37074e5051add539d509bad8646b91f240cbcf12 /integration-tests/test-ebics.py
parentd5ea867db958b7962c32d5713fb8190f8bca3094 (diff)
downloadlibeufin-5005d9eb5a0dc893fb7bb451f0625950f86bd11d.tar.gz
libeufin-5005d9eb5a0dc893fb7bb451f0625950f86bd11d.tar.bz2
libeufin-5005d9eb5a0dc893fb7bb451f0625950f86bd11d.zip
Integration test.
Ask C53 after one payment is made, and check the result.
Diffstat (limited to 'integration-tests/test-ebics.py')
-rwxr-xr-xintegration-tests/test-ebics.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/integration-tests/test-ebics.py b/integration-tests/test-ebics.py
index 78187d7d..10c873d4 100755
--- a/integration-tests/test-ebics.py
+++ b/integration-tests/test-ebics.py
@@ -168,3 +168,16 @@ resp = post("http://localhost:5001/ebics/execute-payments")
assert(resp.status_code == 200)
#6
+resp = post(
+ "http://localhost:5001/ebics/subscribers/{}/collect-transactions-c53".format(USERNAME),
+ json=dict()
+)
+assert(resp.status_code == 200)
+
+resp = get(
+ "http://localhost:5001/users/{}/history".format(USERNAME)
+)
+assert(resp.status_code == 200)
+assert(len(resp.json().get("payments")) == 1)
+
+