()
| 1132 | |
| 1133 | |
| 1134 | def test_extract_bash_finds_functions(): |
| 1135 | result = extract_bash(FIXTURES / "sample.sh") |
| 1136 | assert "error" not in result |
| 1137 | labels = {n["label"] for n in result["nodes"]} |
| 1138 | assert "build()" in labels |
| 1139 | assert "test_suite()" in labels |
| 1140 | assert "deploy()" in labels |
| 1141 | |
| 1142 | |
| 1143 | def test_extract_bash_emits_defines_edges(): |
nothing calls this directly
no test coverage detected