[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 06/11: Integration test.
From: |
gnunet |
Subject: |
[libeufin] 06/11: Integration test. |
Date: |
Thu, 30 Apr 2020 21:46:49 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
commit d9547e525b226c9fa51c4ff9c8ca331077f36bbb
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Apr 30 17:00:01 2020 +0200
Integration test.
Bring up to payment preparation step to pass.
---
integration-tests/test-ebics.py | 28 ++++++++++++----------------
1 file changed, 12 insertions(+), 16 deletions(-)
diff --git a/integration-tests/test-ebics.py b/integration-tests/test-ebics.py
index a71516f..b8f2cd0 100755
--- a/integration-tests/test-ebics.py
+++ b/integration-tests/test-ebics.py
@@ -132,39 +132,35 @@ resp = post(
json=dict()
)
assert(resp.status_code == 200)
-exit(77)
-#3 Request history via EBICS
+#3
resp = post(
"http://localhost:5001/ebics/subscribers/{}/collect-transactions-c53".format(USERNAME),
json=dict()
)
-
assert(resp.status_code == 200)
+#4
resp = get(
"http://localhost:5001/users/{}/history".format(USERNAME)
)
-
-#4
-assert(
- resp.status_code == 200 and \
- len(resp.json().get("payments")) == 0
-)
+assert(resp.status_code == 200)
+assert(len(resp.json().get("payments")) == 0)
#5.a
resp = post(
"http://localhost:5001/users/{}/prepare-payment".format(USERNAME),
json=dict(
- creditorIban="GB33BUKB20201555555555",
- creditorBic="BUKBGB22",
- creditorName="Oliver Smith",
- debitorIban="FR7630006000011234567890189",
- debitorBic="AGRIFRPP",
- debitorName="Jacques LaFayette"
+ creditorIban="FR7630006000011234567890189",
+ creditorBic="AGRIFRPP",
+ creditorName="Jacques La Fayette",
+ debitorIban=SUBSCRIBER_IBAN,
+ debitorBic=SUBSCRIBER_BIC,
+ debitorName=SUBSCRIBER_NAME,
+ subject="integration test",
+ sum=1
)
)
-
assert(resp.status_code == 200)
#7 Execute such payment via EBICS
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [libeufin] branch master updated (9cd5454 -> 96b5026), gnunet, 2020/04/30
- [libeufin] 04/11: Integration test., gnunet, 2020/04/30
- [libeufin] 01/11: Sandbox admin., gnunet, 2020/04/30
- [libeufin] 03/11: fix db problem in test, gnunet, 2020/04/30
- [libeufin] 02/11: HTD response content comes from DB now., gnunet, 2020/04/30
- [libeufin] 06/11: Integration test.,
gnunet <=
- [libeufin] 07/11: Fix CCT handling., gnunet, 2020/04/30
- [libeufin] 09/11: fix time parser, gnunet, 2020/04/30
- [libeufin] 11/11: Fix amount format., gnunet, 2020/04/30
- [libeufin] 05/11: Reducing code., gnunet, 2020/04/30
- [libeufin] 10/11: Move more generic helpers to util package., gnunet, 2020/04/30
- [libeufin] 08/11: Integration test., gnunet, 2020/04/30