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

Function _add_data

tests/pytests/unit/modules/test_yumpkg.py:24–25  ·  view source on GitHub ↗
(data, key, value)

Source from the content-addressed store, hash-verified

22@pytest.fixture
23def configure_loader_modules():
24 def _add_data(data, key, value):
25 data.setdefault(key, []).append(value)
26
27 return {
28 yumpkg: {

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
setdefaultMethod · 0.45

Tested by

no test coverage detected