(self)
| 36 | class FindConfigFileSuite(unittest.TestCase): |
| 37 | |
| 38 | def test_no_config(self) -> None: |
| 39 | with tempfile.TemporaryDirectory() as _tmpdir: |
| 40 | tmpdir = Path(_tmpdir) |
| 41 | (tmpdir / ".git").touch() |
| 42 | with chdir(tmpdir): |
| 43 | result = _find_config_file() |
| 44 | assert result is None |
| 45 | |
| 46 | def test_parent_config_with_and_without_git(self) -> None: |
| 47 | for name in CONFIG_NAMES + SHARED_CONFIG_NAMES: |
nothing calls this directly
no test coverage detected