def test_e2e(self): # Make sure at least one project that will never be in Python 3 is # included. args = '--projects', 'numpy,scipy,matplotlib,ipython,paste' ciu_main.main(args)
def test_e2e(self): # Make sure at least one project that will never be in Python 3 is # included. args = '--projects', 'numpy', 'scipy', 'matplotlib', 'ipython', 'paste' ciu_main.main(args)
def test_e2e_with_specified_index(self): args = '--projects', 'paste', '--index', pypi.PYPI_INDEX_URL ciu_main.main(args)
def test_nonzero_return_code(self): args = ['--projects', 'foo', 'bar.baz'] with self.assertRaises(SystemExit) as context: ciu_main.main(args=args) self.assertNotEqual(context.exception.code, 0)
def test_nonzero_return_code(self): args = ['--projects', 'foo', 'bar.baz'] with self.assertRaises(SystemExit) as context: ciu_main.main(args=args) self.assertNotEqual(context.exception.code, 0)