commit b6e9340fbd578a38d0245d7c8717aab6974f2735
parent 66a78ea164ce7816c9f364ebea2378c726d18c5b
Author: Marcello Stanisci <ms@taler.net>
Date: Wed, 29 Apr 2020 10:39:12 +0200
Integration test.
Get until /sync (HPB) passes.
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/integration-tests/test.py b/integration-tests/test.py
@@ -20,7 +20,7 @@ resp = post(
"http://localhost:5001/ebics/subscribers/{}".format(USERNAME),
json=dict(
ebicsURL="http://localhost:5000/ebicsweb",
- hostID="HOST1",
+ hostID="HOST01",
partnerID="PARTNER1",
userID="USER1"
)
@@ -44,6 +44,13 @@ resp = post(
assert(resp.status_code == 200)
#4 Download keys from the bank HPB
+resp = post(
+ "http://localhost:5001/ebics/subscribers/{}/sync".format(USERNAME),
+ json=dict()
+)
+
+assert(resp.status_code == 200)
+
#5 Request history
#6 Prepare a payment
#7 Execute such payment via EBICS