From: Henryk Plötz Date: Mon, 9 Sep 2019 11:40:44 +0000 (+0200) Subject: tests: Provide product_id and product_version in all tests X-Git-Tag: v3.0.0~2^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b9cd28b655d6bf7f5d5014076f70e7045729270;p=thirdparty%2Fpython-fints.git tests: Provide product_id and product_version in all tests --- 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)