Fix user count assertion in UI tests
This commit is contained in:
parent
95c0fb8a70
commit
443dd9f18f
|
@ -38,7 +38,7 @@ def client():
|
||||||
app.config['WTF_CSRF_ENABLED'] = False
|
app.config['WTF_CSRF_ENABLED'] = False
|
||||||
|
|
||||||
recreate_db()
|
recreate_db()
|
||||||
assert User.query.count() == 1
|
assert User.query.count() == 2
|
||||||
|
|
||||||
with app.test_client() as client:
|
with app.test_client() as client:
|
||||||
yield client
|
yield client
|
||||||
|
|
Loading…
Reference in New Issue