mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #39800 from twangboy/win_fix_test_useradd
Fix test_add_user_to_group for Windows
This commit is contained in:
commit
9ce11794b7
@ -183,8 +183,7 @@ class UseraddModuleTestWindows(integration.ModuleCase):
|
||||
|
||||
# And create the user as a member of that group
|
||||
if self.run_function(
|
||||
'user.add',
|
||||
[user_name, 'groups={0}'.format(group_name)]) is False:
|
||||
'user.add', [user_name], groups=group_name) is False:
|
||||
self.run_function('user.delete', [user_name, True, True])
|
||||
self.skipTest('Failed to create user')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user