From 1b9cd28b655d6bf7f5d5014076f70e7045729270 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Henryk=20Pl=C3=B6tz?= Date: Mon, 9 Sep 2019 13:40:44 +0200 Subject: [PATCH] tests: Provide product_id and product_version in all tests --- tests/test_client.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/test_client.py b/tests/test_client.py index 703d9ff..4004a8b 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -10,7 +10,8 @@ def fints_client(fints_server): '12345678', 'test1', '1234', - fints_server + fints_server, + product_id="TEST-123", product_version="1.2.3", ) @@ -34,6 +35,7 @@ def test_pin_wrong(fints_server): 'test1', '99999', fints_server, + product_id="TEST-123", product_version="1.2.3", ) with pytest.raises(FinTSClientPINError): with client: @@ -55,6 +57,7 @@ def test_pin_locked(fints_server): 'test1', '3938', fints_server, + product_id="TEST-123", product_version="1.2.3", ) with pytest.raises(FinTSClientTemporaryAuthError): with client: @@ -85,7 +88,8 @@ def test_resume(fints_client, fints_server): 'test1', '1234', fints_server, - from_data=c_data + from_data=c_data, + product_id="TEST-123", product_version="1.2.3", ) assert system_id == fints_client.system_id @@ -104,7 +108,7 @@ def test_transfer_1step(fints_client): 'Test Receiver', Decimal('1.23'), 'Test Sender', - 'Test transfer 1step' + 'Test transfer 1step', ) assert isinstance(a, TransactionResponse) -- 2.47.2