Use old is_windows utils path on 2017.7

This commit is contained in:
rallytime 2018-06-25 10:06:37 -04:00
parent b965d6c9b3
commit e9d09e0375
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -430,7 +430,7 @@ class PipModuleTest(ModuleCase):
raise
@skipIf(not os.path.isfile('pip3'), 'test where pip3 is installed')
@skipIf(salt.utils.platform.is_windows(), 'test specific for linux usage of /bin/python')
@skipIf(salt.utils.is_windows(), 'test specific for linux usage of /bin/python')
def test_system_pip3(self):
self.run_function('pip.install', pkgs=['lazyimport==0.0.1'], bin_env='/bin/pip3')
ret1 = self.run_function('cmd.run', '/bin/pip3 freeze | grep lazyimport')