mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Suse Useradd test fix (#36007)
This commit is contained in:
parent
40131b9c27
commit
e6b4dd651e
@ -67,7 +67,7 @@ class UseraddModuleTestLinux(integration.ModuleCase):
|
||||
|
||||
try:
|
||||
uinfo = self.run_function('user.info', [uname])
|
||||
if grains['os_family'] in ('SUSE',):
|
||||
if grains['os_family'] in ('Suse',):
|
||||
self.assertIn('users', uinfo['groups'])
|
||||
else:
|
||||
self.assertIn(uname, uinfo['groups'])
|
||||
|
Loading…
Reference in New Issue
Block a user