Skip grep unit tests on windows

These tests are specific to unix like platforms that have grep
installed. On windows we use the win_file module.
This commit is contained in:
Daniel A. Wozniak 2018-08-22 07:07:19 +00:00
parent 60605f0248
commit e30589194e
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -527,6 +527,7 @@ class FileBlockReplaceTestCase(TestCase, LoaderModuleMockMixin):
)
@skipIf(salt.platform.is_windows(), 'Skip on windows')
class FileGrepTestCase(TestCase, LoaderModuleMockMixin):
def setup_loader_modules(self):
return {