mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't assume package installation order.
Additionally pep8 when installed using wheel, reports the version together with the name.
This commit is contained in:
parent
1181a50d0d
commit
b62df62151
1 changed files with 5 additions and 4 deletions
|
@ -181,10 +181,11 @@ class PipModuleTest(integration.ModuleCase):
|
|||
)
|
||||
try:
|
||||
self.assertEqual(ret['retcode'], 0)
|
||||
self.assertIn(
|
||||
'Successfully installed pep8 Blinker SaltTesting',
|
||||
ret['stdout']
|
||||
)
|
||||
for package in ('Blinker', 'SaltTesting', 'pep8'):
|
||||
self.assertRegexpMatches(
|
||||
ret['stdout'],
|
||||
r'(?:.*)(Successfully installed)(?:.*)({0})(?:.*)'.format(package)
|
||||
)
|
||||
except AssertionError:
|
||||
import pprint
|
||||
pprint.pprint(ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue