mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Merge branch '2019.2.1' into fix_test_winrepo
This commit is contained in:
commit
c1f8cbacbe
@ -31,11 +31,12 @@ class StatusBeaconTestCase(TestCase, LoaderModuleMockMixin):
|
||||
|
||||
def setup_loader_modules(self):
|
||||
opts = salt.config.DEFAULT_MINION_OPTS
|
||||
opts['grains'] = salt.loader.grains(opts)
|
||||
module_globals = {
|
||||
'__opts__': opts,
|
||||
'__salt__': 'autoload',
|
||||
'__context__': {},
|
||||
'__grains__': {'kernel': 'Linux'}
|
||||
'__grains__': opts['grains']
|
||||
}
|
||||
return {
|
||||
status: module_globals,
|
||||
|
Loading…
Reference in New Issue
Block a user