(result: dict, file: str, sym: str)
| 23 | |
| 24 | |
| 25 | def _contains(result: dict, file: str, sym: str) -> bool: |
| 26 | tgt = _make_id(_file_stem(Path(file)), sym) |
| 27 | return any( |
| 28 | e["target"] == tgt and e["relation"] == "contains" |
| 29 | for e in result["edges"] |
| 30 | ) |
| 31 | |
| 32 | |
| 33 | def test_generator_declaration_is_node_ts(tmp_path): |
no test coverage detected