MCPcopy Index your code
hub / github.com/saltstack/salt / _test_remote_map

Function _test_remote_map

tests/pytests/functional/utils/gitfs/test_gitfs.py:224–231  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

222
223
224def _test_remote_map(opts):
225 p = _get_gitfs(
226 opts,
227 "https://github.com/saltstack/salt-test-pillar-gitfs.git",
228 )
229 p.fetch_remotes()
230 assert len(p.remotes) == 1
231 assert os.path.isfile(os.path.join(opts["cachedir"], "gitfs", "remote_map.txt"))
232
233
234@skipif_no_gitpython

Callers 2

test_pygit2_remote_mapFunction · 0.70

Calls 2

_get_gitfsFunction · 0.85
fetch_remotesMethod · 0.80

Tested by

no test coverage detected