(file: str, line: int, key: str)
| 503 | cases: list = [] |
| 504 | |
| 505 | def hit(file: str, line: int, key: str) -> bool: |
| 506 | if any(norm(n.get("label")) == key for n in graph.targets(file, line)): |
| 507 | return True |
| 508 | return any(norm(n.get("label")) == key for n in graph.nodes_at.get((file, line), [])) |
| 509 | |
| 510 | if cat == "a": |
| 511 | for file, line, name, expected in cases_a(root): |