(result: dict, label: str)
| 43 | |
| 44 | |
| 45 | def _node(result: dict, label: str) -> dict: |
| 46 | matches = [n for n in result["nodes"] if n.get("label") == label] |
| 47 | assert len(matches) == 1, [n.get("label") for n in result["nodes"]] |
| 48 | return matches[0] |
| 49 | |
| 50 | |
| 51 | def test_a_class_is_marked_as_a_type(tmp_path: Path): |
no test coverage detected