Merge pull request #2250 from whiteinge/salt-pip-test-bashism

Remove bash-ism from pip state test
This commit is contained in:
Thomas S Hatch 2012-10-15 16:55:07 -07:00
commit a826375b15

View File

@ -30,10 +30,10 @@ class PipStateTest(integration.ModuleCase):
for key in ret.keys():
self.assertFalse(ret[key]['result'])
self.assertEqual(
self.assertRegexpMatches(
ret[key]['comment'],
'Error installing \'supervisor\': /bin/bash: '
'/tmp/pip-installed-errors: No such file or directory'
'Error installing \'supervisor\': .* '
'[nN]o such file or directory'
)
# We now create the missing virtualenv