Skip to content

Commit 203d70e

Browse files
committed
explicit client fixture
1 parent 9ea13a6 commit 203d70e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def app(test_notebook):
5757
nb2workflow.nbadapter.ontology._is_ontology_available = True
5858
print("creating app")
5959
return app
60+
6061

6162

6263
@pytest.fixture
@@ -197,3 +198,7 @@ def pytest_collection_modifyitems(config, items):
197198
for item in items:
198199
if "service" in item.keywords:
199200
item.add_marker(skip_service)
201+
202+
@pytest.fixture
203+
def client(app):
204+
return app.test_client()

0 commit comments

Comments
 (0)