mirror of
https://github.com/simple-login/app.git
synced 2025-10-06 13:26:51 +08:00
fix test
This commit is contained in:
parent
c132e3fbbc
commit
b9d26d46f6
1 changed files with 9 additions and 8 deletions
|
@ -48,6 +48,7 @@ def flask_app():
|
|||
def flask_client():
|
||||
transaction = connection.begin()
|
||||
|
||||
with app.app_context():
|
||||
try:
|
||||
client = app.test_client()
|
||||
yield client
|
||||
|
|
Loading…
Add table
Reference in a new issue