mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Gate the win_function a little better
This commit is contained in:
parent
bcdb3667ae
commit
01bd847bcd
@ -64,9 +64,10 @@ class WinFileCheckPermsTestCase(TestCase, LoaderModuleMockMixin):
|
||||
Test cases for the check_perms function in salt.modules.win_file
|
||||
'''
|
||||
temp_file = ''
|
||||
current_user = salt.utils.win_functions.get_current_user(False)
|
||||
current_user = ''
|
||||
|
||||
def setup_loader_modules(self):
|
||||
self.current_user = salt.utils.win_functions.get_current_user(False)
|
||||
return {
|
||||
win_file: {
|
||||
'__opts__': {
|
||||
|
Loading…
Reference in New Issue
Block a user