This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user