Update conftest.py

This commit is contained in:
Alexander Hosking 2022-04-15 03:34:40 +00:00
parent 033ce1fd70
commit 3b835ae0a9

View File

@ -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()