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 committed by rallytime
parent 74b78835b3
commit 5488fbea38
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

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 {