mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
mock config.option for new _check_queue functionality
This commit is contained in:
parent
1e5721ad52
commit
e1d5edafd5
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ def configure_loader_modules(salt_minion_factory):
|
|||
return {
|
||||
state: {
|
||||
"__opts__": salt_minion_factory.config.copy(),
|
||||
"__salt__": {"saltutil.is_running": MagicMock(return_value=[])},
|
||||
"__salt__": {
|
||||
"config.option": MagicMock(return_value=None),
|
||||
"saltutil.is_running": MagicMock(return_value=[]),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue