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