MCPcopy 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
36def 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_clientMethod · 0.80

Tested by

no test coverage detected