mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Gate the win_function a little better
This commit is contained in:
parent
bcdb3667ae
commit
01bd847bcd
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue