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

Function test_dm_emits_include_edge

tests/test_languages.py:2403–2407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2401
2402@_needs_dm
2403def test_dm_emits_include_edge():
2404 r = extract_dm(FIXTURES / "sample.dm")
2405 import_edges = _edges_with_relation(r, "imports", "imports_from")
2406 assert import_edges
2407 assert all(e.get("context") == "import" for e in import_edges)
2408
2409@_needs_dm
2410def test_dm_unresolved_include_flagged_external():

Callers

nothing calls this directly

Calls 3

extract_dmFunction · 0.90
_edges_with_relationFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected