MCPcopy Create free account
hub / github.com/tirth8205/code-review-graph / test_basic_function

Method test_basic_function

tests/test_embeddings.py:84–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 return GraphNode(**defaults)
83
84 def test_basic_function(self):
85 node = self._make_node()
86 text = _node_to_text(node)
87 assert "my_func" in text
88 assert "function" in text
89 assert "python" in text
90
91 def test_method_with_parent(self):
92 node = self._make_node(parent_name="MyClass")

Callers

nothing calls this directly

Calls 2

_make_nodeMethod · 0.95
_node_to_textFunction · 0.90

Tested by

no test coverage detected