(self)
| 59 | assert result.name == "my_func" |
| 60 | |
| 61 | def test_upsert_method_node(self): |
| 62 | method = self._make_func_node(name="do_thing", parent="MyClass") |
| 63 | self.store.upsert_node(method) |
| 64 | self.store.commit() |
| 65 | |
| 66 | result = self.store.get_node("/test/file.py::MyClass.do_thing") |
| 67 | assert result is not None |
| 68 | assert result.parent_name == "MyClass" |
| 69 | |
| 70 | def test_upsert_edge(self): |
| 71 | edge = EdgeInfo( |
nothing calls this directly
no test coverage detected