Tweaking client

pull/11/head
Leigh Morresi 4 years ago
parent d4db082c01
commit 4770ebb2ea

@ -32,7 +32,9 @@ def app(request):
@pytest.fixture(scope='session') @pytest.fixture(scope='session')
def client(app): def client(app):
return app.test_client() with app.test_client() as client:
yield client
@pytest.fixture(scope='function') @pytest.fixture(scope='function')
def session(request): def session(request):

Loading…
Cancel
Save