libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 838143b80becb19024e219eba4edd605e9d4fad5
parent 5f9ad837016c66fe974e413432b2785b58268820
Author: MS <ms@taler.net>
Date:   Tue, 23 Jun 2020 15:18:56 +0200

adapting tests to new URI

Diffstat:
Mintegration-tests/start-testenv.py | 8++++----
Mintegration-tests/test-ebics-backup.py | 4++--
Mintegration-tests/test-ebics-highlevel.py | 2+-
Mintegration-tests/test-ebics.py | 10+++++-----
Mintegration-tests/test-taler-facade.py | 2+-
5 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/integration-tests/start-testenv.py b/integration-tests/start-testenv.py @@ -354,28 +354,28 @@ assertResponse( # 2.c, fetch bank account information assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics-1/ebics/import-accounts", + "http://localhost:5001/bank-connections/my-ebics-1/import-accounts", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) ) assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics-2/ebics/import-accounts", + "http://localhost:5001/bank-connections/my-ebics-2/import-accounts", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) ) assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics-3/ebics/import-accounts", + "http://localhost:5001/bank-connections/my-ebics-3/import-accounts", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) ) assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics-4/ebics/import-accounts", + "http://localhost:5001/bank-connections/my-ebics-4/import-accounts", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) diff --git a/integration-tests/test-ebics-backup.py b/integration-tests/test-ebics-backup.py @@ -153,7 +153,7 @@ print("send ini & hia with restored connection") assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics-restored/ebics/send-ini", + "http://localhost:5001/bank-connections/my-ebics-restored/send-ini", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) @@ -161,7 +161,7 @@ assertResponse( assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics-restored/ebics/send-hia", + "http://localhost:5001/bank-connections/my-ebics-restored/send-hia", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) diff --git a/integration-tests/test-ebics-highlevel.py b/integration-tests/test-ebics-highlevel.py @@ -152,7 +152,7 @@ assertResponse( # 2.c, fetch bank account information assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics/ebics/import-accounts", + "http://localhost:5001/bank-connections/my-ebics/import-accounts", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) diff --git a/integration-tests/test-ebics.py b/integration-tests/test-ebics.py @@ -144,7 +144,7 @@ print("sending ini & hia") # 2.a, upload keys to the bank (INI & HIA) assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics/ebics/send-ini", + "http://localhost:5001/bank-connections/my-ebics/send-ini", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) @@ -152,7 +152,7 @@ assertResponse( assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics/ebics/send-hia", + "http://localhost:5001/bank-connections/my-ebics/send-hia", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) @@ -161,7 +161,7 @@ assertResponse( # 2.b, download keys from the bank (HPB) assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics/ebics/send-hpb", + "http://localhost:5001/bank-connections/my-ebics/send-hpb", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) @@ -170,7 +170,7 @@ assertResponse( # Test download transaction (TSD, LibEuFin-specific test order type) assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics/ebics/download/tsd", + "http://localhost:5001/bank-connections/my-ebics/download/tsd", headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) ) @@ -178,7 +178,7 @@ assertResponse( # 2.c, fetch bank account information assertResponse( post( - "http://localhost:5001/bank-connections/my-ebics/ebics/import-accounts", + "http://localhost:5001/bank-connections/my-ebics/import-accounts", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) diff --git a/integration-tests/test-taler-facade.py b/integration-tests/test-taler-facade.py @@ -128,7 +128,7 @@ assertResponse( # fetch bank account information assertResponse( post( - "http://localhost:5001/bank-connections/{}/ebics/import-accounts".format(BANK_CONNECTION_LABEL), + "http://localhost:5001/bank-connections/{}/import-accounts".format(BANK_CONNECTION_LABEL), json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), )