From dea80f1847f2bf762ce892f945d8bdb296a7613c Mon Sep 17 00:00:00 2001 From: Honza Javorek Date: Wed, 25 Dec 2024 15:18:07 +0100 Subject: [PATCH] redundant and not correct --- tests/test_fiobank.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/test_fiobank.py b/tests/test_fiobank.py index e8205f2..d0fbe13 100644 --- a/tests/test_fiobank.py +++ b/tests/test_fiobank.py @@ -306,23 +306,6 @@ def test_transactions_parse(transactions_json, api_key, sdk_key, sdk_type): assert sdk_transaction[sdk_key] == sdk_type(api_transaction[api_key]["value"]) -@pytest.mark.parametrize('amount, expected', [ - (42, Decimal('42')), - (0, Decimal('0')), - (-353.2933, Decimal('-353.2933')), - (3.14, Decimal('3.14')), -]) -def test_transactions_parse_amount(transactions_json, amount, expected): - client = FioBank('...') - - api_transaction = transactions_json['accountStatement']['transactionList']['transaction'][0] # NOQA - api_transaction['column1'] = amount - - sdk_transaction = list(client._parse_transactions(transactions_json))[0] - - assert sdk_transaction['amount'] == expected - - def test_transactions_parse_unsanitized(transactions_json): client = FioBank("...")