()
| 11 | |
| 12 | @pytest.fixture(scope='session', autouse=True) |
| 13 | def global_git_config() -> None: |
| 14 | # Do not use global config for better test reproducibility. |
| 15 | # https://github.com/libgit2/pygit2/issues/989 |
| 16 | levels = [ |
| 17 | pygit2.enums.ConfigLevel.GLOBAL, |
| 18 | pygit2.enums.ConfigLevel.XDG, |
| 19 | pygit2.enums.ConfigLevel.SYSTEM, |
| 20 | ] |
| 21 | for level in levels: |
| 22 | pygit2.settings.search_path[level] = '' |
| 23 | |
| 24 | |
| 25 | @pytest.fixture |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…