diff --git a/tests/test_git.py b/tests/test_git.py index 069d620..8d78e94 100644 --- a/tests/test_git.py +++ b/tests/test_git.py @@ -987,7 +987,7 @@ def test_clone_proxy_server(proxy_server: str, scm: Git, git: Git, tmp_dir: TmpD @pytest.mark.allow_hosts(["127.0.0.1", "::1"]) def test_iter_remote_refs_proxy_server(proxy_server: str, scm: Git, tmp_dir: TmpDir): url = "https://github.com/iterative/dvcyaml-schema" - git = GitBackends.DEFAULT.get("dulwich")(".") + git = GitBackends.DEFAULT["dulwich"](".") p = Path(os.environ["HOME"]) / ".gitconfig" p.write_text(BAD_PROXY_CONFIG)