refactor: format test_db.py for consistency
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,9 @@ def _setup():
|
|||||||
def test_log_action_then_list_actions_returns_it(users_db_path):
|
def test_log_action_then_list_actions_returns_it(users_db_path):
|
||||||
_setup()
|
_setup()
|
||||||
|
|
||||||
admin_db.log_action("admin@ex.fr", "subscription_status_change", 42, "active → cancelled")
|
admin_db.log_action(
|
||||||
|
"admin@ex.fr", "subscription_status_change", 42, "active → cancelled"
|
||||||
|
)
|
||||||
|
|
||||||
rows = admin_db.list_actions()
|
rows = admin_db.list_actions()
|
||||||
assert len(rows) == 1
|
assert len(rows) == 1
|
||||||
|
|||||||
Reference in New Issue
Block a user