(tmp_path, monkeypatch)
| 178 | |
| 179 | @pytest.mark.usefixtures("in_repo_root") |
| 180 | def test_find_git_project_root(tmp_path, monkeypatch): |
| 181 | assert git.find_git_project_root() == Path(os.getcwd()) |
| 182 | |
| 183 | monkeypatch.chdir(tmp_path) |
| 184 | assert git.find_git_project_root() is None |
| 185 | |
| 186 | |
| 187 | @pytest.mark.parametrize("config_files_manager", defaults.CONFIG_FILES, indirect=True) |
nothing calls this directly
no outgoing calls
no test coverage detected