Skip to content

Commit

Permalink
format: Run pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanelli committed Sep 29, 2024
1 parent 6efa1eb commit 39ccd7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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):
Expand Down

0 comments on commit 39ccd7f

Please sign in to comment.