mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #53590 from twangboy/fix_test_status
Fix `test status` on Windows
This commit is contained in:
commit
db950f25e1
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue