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

Function test_extract_bash_emits_calls_edges

tests/test_extract.py:1149–1155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1147
1148
1149def test_extract_bash_emits_calls_edges():
1150 result = extract_bash(FIXTURES / "sample.sh")
1151 calls = [(e["source"], e["target"]) for e in result["edges"] if e["relation"] == "calls"]
1152 # deploy() calls build() and test_suite(); test_suite() calls build()
1153 assert any("deploy" in s and "build" in t for s, t in calls)
1154 assert any("deploy" in s and "test_suite" in t for s, t in calls)
1155 assert any("test_suite" in s and "build" in t for s, t in calls)
1156
1157
1158def test_extract_bash_calls_have_extracted_confidence():

Callers

nothing calls this directly

Calls 1

extract_bashFunction · 0.90

Tested by

no test coverage detected