MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_non_git_dir

Method test_non_git_dir

tests/test_git_context.py:98–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

96 clear_git_caches()
97
98 def test_non_git_dir(self):
99 clear_git_caches()
100 with tempfile.TemporaryDirectory() as tmp:
101 ctx = _run(collect_git_context(tmp))
102 self.assertFalse(ctx.available)
103 self.assertIsNotNone(ctx.error)
104 clear_git_caches()
105
106 def test_memoization(self):
107 clear_git_caches()

Callers

nothing calls this directly

Calls 3

clear_git_cachesFunction · 0.90
collect_git_contextFunction · 0.90
_runFunction · 0.70

Tested by

no test coverage detected