コード例 #1
0
ファイル: test_cli.py プロジェクト: b-jazz/caniusepython3
 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)
コード例 #2
0
 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)
コード例 #3
0
ファイル: test_cli.py プロジェクト: etataurov/caniusepython3
 def test_e2e_with_specified_index(self):
     args = '--projects', 'paste', '--index', pypi.PYPI_INDEX_URL
     ciu_main.main(args)
コード例 #4
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)
コード例 #5
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)