Decorator-reference edge targets emitted from owner_nid.
(result: dict, owner_nid: str)
| 40 | |
| 41 | |
| 42 | def _deco_edges(result: dict, owner_nid: str) -> set[str]: |
| 43 | """Decorator-reference edge targets emitted from owner_nid.""" |
| 44 | return { |
| 45 | e["target"] |
| 46 | for e in result["edges"] |
| 47 | if e["source"] == owner_nid |
| 48 | and e["relation"] == "references" |
| 49 | and e.get("context") == "decorator" |
| 50 | } |
| 51 | |
| 52 | |
| 53 | def test_module_level_function_decorator(tmp_path): |
no test coverage detected