Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ client
Function
client
examples/tutorial/tests/conftest.py:36–38 ·
view source on GitHub ↗
A test client for the app.
(app)
Source
from the content-addressed store, hash-verified
34
35
@pytest.fixture
36
def
client(app):
37
""
"A test client for the app."
""
38
return
app.test_client()
39
40
41
@pytest.fixture
Callers
nothing calls this directly
Calls
1
test_client
Method · 0.80
Tested by
no test coverage detected