Skip to content

Commit 968170e

Browse files
author
Joel Collins
committed
Added LabThing client fixture
1 parent 298fa92 commit 968170e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ def client(app):
114114
return app.test_client()
115115

116116

117+
@pytest.fixture
118+
def thing_client(thing):
119+
return thing.app.test_client()
120+
121+
117122
@pytest.fixture
118123
def static_path(app):
119124
return os.path.join(os.path.dirname(__file__), "static")

0 commit comments

Comments
 (0)