(self, tmp_path)
| 341 | assert ds.endpoints[0].method == "GET" |
| 342 | |
| 343 | def test_data_wrapper(self, tmp_path): |
| 344 | p = _write_introspection( |
| 345 | tmp_path, "type Query { ping: String }", wrap_data=True |
| 346 | ) |
| 347 | ds = compile_graphql(str(p)) |
| 348 | assert len(ds.endpoints) == 1 |
| 349 | assert ds.endpoints[0].path == "/ping" |
| 350 | |
| 351 | def test_mutations(self, tmp_path): |
| 352 | sdl = """ |
nothing calls this directly
no test coverage detected