Update conftest.py
This commit is contained in:
parent
033ce1fd70
commit
3b835ae0a9
@ -7,10 +7,12 @@ def app():
|
||||
'TESTING': True
|
||||
})
|
||||
|
||||
yield app
|
||||
|
||||
@pytest.fixture
|
||||
def client(app):
|
||||
return app.test_client()
|
||||
|
||||
@pytest.fixture
|
||||
def runner(app):
|
||||
return app.test_cli_runner()
|
||||
return app.test_cli_runner()
|
||||
|
Loading…
Reference in New Issue
Block a user