MCPcopy Create free account
hub / github.com/libgit2/pygit2 / test_clone_with_proxy

Function test_clone_with_proxy

test/test_repository.py:814–821  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

812@utils.requires_proxy
813@utils.requires_network
814def test_clone_with_proxy(tmp_path: Path) -> None:
815 url = 'https://github.com/libgit2/TestGitRepository'
816 repo = clone_repository(
817 url,
818 tmp_path / 'testrepo-orig.git',
819 proxy=True,
820 )
821 assert not repo.is_empty
822
823
824# FIXME The tests below are commented because they are broken:

Callers

nothing calls this directly

Calls 1

clone_repositoryFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…