(result: dict, source: str, target: str, relation: str)
| 29 | |
| 30 | |
| 31 | def _has_edge(result: dict, source: str, target: str, relation: str) -> bool: |
| 32 | return any( |
| 33 | edge["source"] == source |
| 34 | and edge["target"] == target |
| 35 | and edge["relation"] == relation |
| 36 | for edge in result["edges"] |
| 37 | ) |
| 38 | |
| 39 | |
| 40 | @pytest.mark.parametrize(("import_line", "receiver", "target"), [ |
no outgoing calls
no test coverage detected