MCPcopy Index your code
hub / github.com/tirth8205/code-review-graph / test_idempotent

Method test_idempotent

tests/test_skills.py:1618–1625  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

1616 assert "export default" in content
1617
1618 def test_idempotent(self, tmp_path):
1619 with patch("code_review_graph.skills.Path.home", return_value=tmp_path):
1620 install_opencode_plugin()
1621 result = install_opencode_plugin()
1622 content = result.read_text()
1623 assert "export default" in content
1624 # Only one default export in the file
1625 assert content.count("export default") == 1
1626
1627 def test_plugin_is_typescript(self, tmp_path):
1628 with patch("code_review_graph.skills.Path.home", return_value=tmp_path):

Callers

nothing calls this directly

Calls 2

install_opencode_pluginFunction · 0.90
countMethod · 0.80

Tested by

no test coverage detected