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

This commit is contained in:
2025-12-09 17:44:18 +09:00
parent 108e17edb8
commit d220342d56
9 changed files with 32 additions and 8 deletions

View File

@@ -177,3 +177,7 @@ def test_product_stock_joint_transaction(sql_session: Session) -> None:
)
assert product_stock(sql_session, product) == 5 - 3
def test_product_stock_throw_away(sql_session: Session) -> None:
...

View File

@@ -563,6 +563,7 @@ def test_transaction_log_combined_filter_product_transaction_id_transaction_type
assert len(result) == 2
# NOTE: see the corresponding TODO's above the function definition
# NOTE: how should this work? Do we includ the entire JOINT transaction, or only the part relevant to the user?
def test_transaction_log_filtered_by_user_joint_transactions(sql_session: Session) -> None: ...
def test_transaction_log_filtered_by_user_throw_away_transactions(sql_session: Session) -> None: ...

View File

@@ -324,3 +324,6 @@ def test_user_balance_joint_transactions_changing_penalty(sql_session: Session):
def test_user_balance_joint_transactions_penalty_interest_combined(sql_session: Session):
pass
def test_user_balance_throw_away_products(sql_session: Session):
pass