diff --git a/tests/integration/modules/useradd.py b/tests/integration/modules/useradd.py index 62682d6210..7cf4a18848 100644 --- a/tests/integration/modules/useradd.py +++ b/tests/integration/modules/useradd.py @@ -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'])