mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Another bit of detection for failed pip tests
Don't bail out if the download failed for some reason on the remote end
This commit is contained in:
parent
93f1daa4ce
commit
b9f5343449
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class PipModuleTest(integration.ModuleCase):
|
|||
'''
|
||||
Checks to see if a download error looks transitory
|
||||
'''
|
||||
return any(w in ret for w in ['URLError'])
|
||||
return any(w in ret for w in ['URLError', 'Download error'])
|
||||
|
||||
def pip_successful_install(self, target, expect=('flake8', 'pep8',)):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue