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

Function _add_data

tests/pytests/unit/modules/test_aixpkg.py:847–848  ·  view source on GitHub ↗
(data, key, value)

Source from the content-addressed store, hash-verified

845 """
846
847 def _add_data(data, key, value):
848 data.setdefault(key, []).append(value)
849
850 with patch.dict(aixpkg.__grains__, {"osarch": "PowerPC_POWER8"}), patch.dict(
851 aixpkg.__salt__,

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
setdefaultMethod · 0.45

Tested by

no test coverage detected