fix(test_pipreqs): fix 2.6 python test

This commit is contained in:
Vadim Kravcenko 2015-09-28 20:49:04 +02:00
parent 8d7b7f6d1c
commit 7170843913

View File

@ -107,8 +107,7 @@ class TestPipreqs(unittest.TestCase):
def test_custom_pypi_server(self):
with self.assertRaises(requests.exceptions.MissingSchema):
pipreqs.init({'<path>': self.project, '--savepath': None,
self.assertRaises(requests.exceptions.MissingSchema, pipreqs.init, {'<path>': self.project, '--savepath': None,
'--use-local': None, '--force': True, '--proxy':None, '--pypi-server':'nonexistent'})