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:
Mike Place 2016-10-04 21:09:47 +09:00
parent 93f1daa4ce
commit b9f5343449
No known key found for this signature in database
GPG key ID: 9136F4F13705CFD3

View file

@ -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',)):
'''