mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Disable tests that require pwd in Windows
This commit is contained in:
parent
2ae5517d36
commit
8260a71c07
@ -72,6 +72,7 @@ class UserAddTestCase(TestCase, LoaderModuleMockMixin):
|
||||
|
||||
# 'getent' function tests: 2
|
||||
|
||||
@skipIf(HAS_PWD is False, 'The pwd module is not available')
|
||||
def test_getent(self):
|
||||
'''
|
||||
Test if user.getent already have a value
|
||||
@ -359,6 +360,7 @@ class UserAddTestCase(TestCase, LoaderModuleMockMixin):
|
||||
|
||||
# 'list_users' function tests: 1
|
||||
|
||||
@skipIf(HAS_PWD is False, 'The pwd module is not available')
|
||||
def test_list_users(self):
|
||||
'''
|
||||
Test if it returns a list of all users
|
||||
|
Loading…
Reference in New Issue
Block a user