(self)
| 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() |
nothing calls this directly
no test coverage detected