From 39ccd7fcfa46e977e2208e9152c68b17eab80983 Mon Sep 17 00:00:00 2001 From: Brunno Vanelli Date: Sun, 29 Sep 2024 09:27:56 +0200 Subject: [PATCH] format: Run pre-commit. --- tests/test_database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_database.py b/tests/test_database.py index 46d0265..4906ce7 100644 --- a/tests/test_database.py +++ b/tests/test_database.py @@ -63,7 +63,7 @@ def test_account_relationships(session): assert get_accounts(session, "Bank") == [bank] -def test_transaction(session: Actual.session): +def test_transaction(session): today = date.today() other = create_account(session, "Other") coffee = create_transaction( @@ -72,7 +72,7 @@ def test_transaction(session: Actual.session): session.commit() assert coffee.amount == -995 assert len(other.transactions) == 1 - assert other.balance == decimal.Decimal('-9.95') + assert other.balance == decimal.Decimal("-9.95") def test_reconcile_transaction(session):