Implement shopping cart
This commit is contained in:
@@ -11,7 +11,7 @@ def test_ensure_user(test_db):
|
||||
|
||||
assert user.username == "test"
|
||||
|
||||
test_db.commit()
|
||||
test_db.flush()
|
||||
|
||||
assert test_db.scalar(select(func.count()).select_from(User)) == 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user