(self)
| 49 | assert result.name == "/test/file.py" |
| 50 | |
| 51 | def test_upsert_function_node(self): |
| 52 | func = self._make_func_node() |
| 53 | self.store.upsert_node(func) |
| 54 | self.store.commit() |
| 55 | |
| 56 | result = self.store.get_node("/test/file.py::my_func") |
| 57 | assert result is not None |
| 58 | assert result.kind == "Function" |
| 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") |
nothing calls this directly
no test coverage detected