Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
23
def
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
append
Method · 0.45
setdefault
Method · 0.45
Tested by
no test coverage detected