Skip on non-windows systems

This commit is contained in:
twangboy 2018-10-03 10:16:28 -06:00
parent 02f63351b2
commit bcdb3667ae
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -58,6 +58,7 @@ class WinFileTestCase(TestCase):
@destructiveTest
@skipIf(NO_MOCK, NO_MOCK_REASON)
@skipIf(not salt.utils.platform.is_windows(), 'Requires Pywin32 libraries')
class WinFileCheckPermsTestCase(TestCase, LoaderModuleMockMixin):
'''
Test cases for the check_perms function in salt.modules.win_file