mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Define __opts__ dict
This commit is contained in:
parent
64d8451dcb
commit
ee3ad08e14
@ -38,6 +38,13 @@ class WinFileTestCase(TestCase):
|
||||
else:
|
||||
FAKE_PATH = os.sep.join(['path', 'does', 'not', 'exist'])
|
||||
|
||||
def setup_loader_modules(self):
|
||||
self.current_user = salt.utils.win_functions.get_current_user(False)
|
||||
return {
|
||||
win_file: {
|
||||
'__opts__': {
|
||||
'test': False}}}
|
||||
|
||||
def test_issue_43328_stats(self):
|
||||
'''
|
||||
Make sure that a CommandExecutionError is raised if the file does NOT
|
||||
|
Loading…
Reference in New Issue
Block a user