mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-11-17 03:16:59 +00:00
Tweaking client
This commit is contained in:
1 parent
d4db082c01
commit
4770ebb2ea
1 file changed
+3
-1
@@ -32,7 +32,9 @@ def app(request):
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
def client(app):
|
||||
return app.test_client()
|
||||
with app.test_client() as client:
|
||||
yield client
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def session(request):
|
||||
|
||||
Reference in new issue
Block a user