MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _client

Function _client

tests/test_serve_http.py:59–62  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

57
58
59def _client(app) -> TestClient:
60 # Default host is 127.0.0.1, so the DNS-rebinding guard only accepts that
61 # Host header (TestClient otherwise sends the disallowed "testserver").
62 return TestClient(app, base_url="http://127.0.0.1")
63
64
65def test_app_builds_and_initialize_succeeds(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected