diff --git a/tests/unit/money/test_history.py b/tests/unit/money/test_history.py index 7ef901b40222ea9ae95890f5c3b346c50b4a09c6..05f10dc3d38110bd8c4083e22cfc6946e36f1e28 100644 --- a/tests/unit/money/test_history.py +++ b/tests/unit/money/test_history.py @@ -172,35 +172,35 @@ def test_prefix(tx_addresses, outputs, occurence, return_value): csv_reference = ( - ("Date", "Issuers/Recipients", "Amounts Ğ1", "Amounts UDĞ1", "Comment"), - ( + ["Date", "Issuers/Recipients", "Amounts Ğ1", "Amounts UDĞ1", "Comment"], + [ "1973-07-10 01:11:54", "CvrMiUhAJpNyX5sdAyZqPE6yEFfSsf6j9EpMmeKvMCWW:DNB", "1.0", "0.09041591320072333", "initialisation", - ), - ( + ], + [ "1973-07-10 01:11:53", "CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd:CQ5", "1.0", "0.09041591320072333", "", - ), - ( + ], + [ "1973-07-10 01:11:52", "CvrMiUhAJpNyX5sdAyZqPE6yEFfSsf6j9EpMmeKvMCWW:DNB", "-1.0", "-0.09", "", - ), - ( + ], + [ "1973-07-10 01:11:51", "CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd:CQ5", "-1.0", "-0.09", "", - ), + ], ) @@ -224,4 +224,4 @@ def test_csv_output(monkeypatch): with Path(file).open() as f: reader = csv.reader(f) for row_file, row_ref in zip(reader, csv_reference): - assert row_file, row_ref + assert row_file == row_ref