[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Add more bank connections in script
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Add more bank connections in script |
Date: |
Sun, 14 Jun 2020 19:11:32 +0200 |
This is an automated email from the git hooks/post-receive script.
heng-yeow pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new ff301b9 Add more bank connections in script
ff301b9 is described below
commit ff301b9ba07375920e6c17ad9372bb61fe943075
Author: tanhengyeow <E0032242@u.nus.edu>
AuthorDate: Mon Jun 15 01:11:21 2020 +0800
Add more bank connections in script
---
integration-tests/start-testenv.py | 63 ++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff --git a/integration-tests/start-testenv.py
b/integration-tests/start-testenv.py
index 78a0555..1fb1278 100755
--- a/integration-tests/start-testenv.py
+++ b/integration-tests/start-testenv.py
@@ -113,6 +113,48 @@ assertResponse(
headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
)
)
+assertResponse(
+ post(
+ "http://localhost:5001/bank-connections",
+ json=dict(
+ name="my-ebics-2",
+ source="new",
+ type="ebics",
+ data=dict(
+ ebicsURL=EBICS_URL, hostID=HOST_ID, partnerID=PARTNER_ID,
userID=USER_ID
+ ),
+ ),
+ headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
+ )
+)
+assertResponse(
+ post(
+ "http://localhost:5001/bank-connections",
+ json=dict(
+ name="my-ebics-3",
+ source="new",
+ type="ebics",
+ data=dict(
+ ebicsURL=EBICS_URL, hostID=HOST_ID, partnerID=PARTNER_ID,
userID=USER_ID
+ ),
+ ),
+ headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
+ )
+)
+assertResponse(
+ post(
+ "http://localhost:5001/bank-connections",
+ json=dict(
+ name="my-ebics-4",
+ source="new",
+ type="ebics",
+ data=dict(
+ ebicsURL=EBICS_URL, hostID=HOST_ID, partnerID=PARTNER_ID,
userID=USER_ID
+ ),
+ ),
+ headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
+ )
+)
print("connecting")
@@ -123,6 +165,27 @@ assertResponse(
headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
)
)
+assertResponse(
+ post(
+ "http://localhost:5001/bank-connections/my-ebics-2/connect",
+ json=dict(),
+ headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
+ )
+)
+assertResponse(
+ post(
+ "http://localhost:5001/bank-connections/my-ebics-3/connect",
+ json=dict(),
+ headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
+ )
+)
+assertResponse(
+ post(
+ "http://localhost:5001/bank-connections/my-ebics-4/connect",
+ json=dict(),
+ headers=dict(Authorization=USER_AUTHORIZATION_HEADER),
+ )
+)
# 2.c, fetch bank account information
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Add more bank connections in script,
gnunet <=