MCPcopy Create free account
hub / github.com/Lap-Platform/LAP / test_basic_query

Method test_basic_query

tests/test_graphql_compiler.py:336–341  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

334
335class TestIntrospectionJSON:
336 def test_basic_query(self, tmp_path):
337 p = _write_introspection(tmp_path, "type Query { hello: String }")
338 ds = compile_graphql(str(p))
339 assert len(ds.endpoints) == 1
340 assert ds.endpoints[0].path == "/hello"
341 assert ds.endpoints[0].method == "GET"
342
343 def test_data_wrapper(self, tmp_path):
344 p = _write_introspection(

Callers

nothing calls this directly

Calls 2

compile_graphqlFunction · 0.90
_write_introspectionFunction · 0.85

Tested by

no test coverage detected