mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
fix indentiation
This commit is contained in:
parent
22e89838f2
commit
7373758237
@ -43,19 +43,19 @@ class PipModuleTest(integration.ModuleCase):
|
||||
|
||||
def pip_successful_install(self, target, expect=('flake8', 'pep8',)):
|
||||
|
||||
expect = set(expect)
|
||||
expect = set(expect)
|
||||
|
||||
success = re.search(
|
||||
r'^.*Successfully installed\s([^\n]+)(?:Clean.*)?',
|
||||
target,
|
||||
re.M | re.S)
|
||||
success = re.search(
|
||||
r'^.*Successfully installed\s([^\n]+)(?:Clean.*)?',
|
||||
target,
|
||||
re.M | re.S)
|
||||
|
||||
success_for = re.findall(
|
||||
r'(flake8|pep8)-[\d\.]',
|
||||
success.groups()[0]
|
||||
) if success else []
|
||||
success_for = re.findall(
|
||||
r'(flake8|pep8)-[\d\.]',
|
||||
success.groups()[0]
|
||||
) if success else []
|
||||
|
||||
return expect.issubset(set(success_for))
|
||||
return expect.issubset(set(success_for))
|
||||
|
||||
def test_issue_2087_missing_pip(self):
|
||||
# Let's create the testing virtualenv
|
||||
|
Loading…
Reference in New Issue
Block a user