MCPcopy
hub / github.com/saltstack/salt / _test_remote_map

Function _test_remote_map

tests/pytests/functional/utils/gitfs/test_pillar.py:303–312  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

301
302
303def _test_remote_map(opts):
304 p = _get_pillar(
305 opts,
306 testgitfs,
307 )
308 p.fetch_remotes()
309 assert len(p.remotes) == 1
310 assert os.path.isfile(
311 os.path.join(opts["cachedir"], "git_pillar", "remote_map.txt")
312 )
313
314
315@skipif_no_gitpython

Callers 2

test_pygit2_remote_mapFunction · 0.70

Calls 2

_get_pillarFunction · 0.85
fetch_remotesMethod · 0.80

Tested by

no test coverage detected