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

Method test_creates_gitignore

tests/test_incremental.py:124–128  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

122 assert (tmp_path / ".code-review-graph").is_dir()
123
124 def test_creates_gitignore(self, tmp_path):
125 get_db_path(tmp_path)
126 gi = tmp_path / ".code-review-graph" / ".gitignore"
127 assert gi.exists()
128 assert "*\n" in gi.read_text()
129
130 def test_migrates_legacy_db(self, tmp_path):
131 legacy = tmp_path / ".code-review-graph.db"

Callers

nothing calls this directly

Calls 1

get_db_pathFunction · 0.90

Tested by

no test coverage detected