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

Function test_php_finds_methods

tests/test_languages.py:1352–1356  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1350 assert any("ApiClient" in l for l in _labels(r))
1351
1352def test_php_finds_methods():
1353 r = extract_php(FIXTURES / "sample.php")
1354 labels = _labels(r)
1355 assert any("get" in l for l in labels)
1356 assert any("post" in l for l in labels)
1357
1358def test_php_finds_function():
1359 r = extract_php(FIXTURES / "sample.php")

Callers

nothing calls this directly

Calls 2

extract_phpFunction · 0.90
_labelsFunction · 0.70

Tested by

no test coverage detected