fixup! WIP
All checks were successful
Run tests / run-tests (push) Successful in 40s

This commit is contained in:
2025-12-08 21:55:25 +09:00
parent f1b15357f9
commit 7d498f9bf1
3 changed files with 10 additions and 5 deletions

View File

@@ -6,9 +6,11 @@ from dibbler.models.Transaction import DEFAULT_INTEREST_RATE_PERCENTAGE
from dibbler.models import Transaction, User
from dibbler.queries.current_interest import current_interest
def test_current_interest_no_history(sql_session: Session) -> None:
assert current_interest(sql_session) == DEFAULT_INTEREST_RATE_PERCENTAGE
def test_current_interest_with_history(sql_session: Session) -> None:
user = User("Admin User")
sql_session.add(user)