コード例 #1
0
 def test_travis_to_tox_list_3(self):
     travis_env_list = []
     expected_tox_env_list = []
     tox_env_list = convert_env_list(TravisPythonEnv, ToxPythonEnv, travis_env_list)
     self.assertEqual(tox_env_list, expected_tox_env_list)
コード例 #2
0
 def test_tox_to_travis_list_5(self):
     tox_env_list = [""]
     expected_travis_env_list = []
     travis_env_list = convert_env_list(ToxPythonEnv, TravisPythonEnv, tox_env_list)
     self.assertEqual(travis_env_list, expected_travis_env_list)
コード例 #3
0
 def test_travis_to_tox_list_2(self):
     travis_env_list = ["2.5", "2.6", "2.7", "3.2", "3.3", "pypy"]
     expected_tox_env_list = ["py25", "py26", "py27", "py32", "py33", "pypy"]
     tox_env_list = convert_env_list(TravisPythonEnv, ToxPythonEnv, travis_env_list)
     self.assertEqual(tox_env_list, expected_tox_env_list)
コード例 #4
0
 def test_tox_to_travis_list_2(self):
     tox_env_list = ["py26", "py27", "py32", "pypy", "jython"]
     expected_travis_env_list = ["2.6", "2.7", "3.2", "pypy"]
     travis_env_list = convert_env_list(ToxPythonEnv, TravisPythonEnv, tox_env_list)
     self.assertEqual(travis_env_list, expected_travis_env_list)
コード例 #5
0
 def test_tox_to_travis_list_3(self):
     tox_env_list = ["py24", "pypy", "jython"]
     expected_travis_env_list = ["pypy"]
     travis_env_list = convert_env_list(ToxPythonEnv, TravisPythonEnv, tox_env_list)
     self.assertEqual(travis_env_list, expected_travis_env_list)
コード例 #6
0
 def test_travis_to_tox_list_3(self):
     travis_env_list = []
     expected_tox_env_list = []
     tox_env_list = convert_env_list(TravisPythonEnv, ToxPythonEnv, travis_env_list)
     self.assertEqual(tox_env_list, expected_tox_env_list)
コード例 #7
0
 def test_travis_to_tox_list_2(self):
     travis_env_list = ['2.5', '2.6', '2.7', '3.2', '3.3', 'pypy']
     expected_tox_env_list = ['py25', 'py26', 'py27', 'py32', 'py33', 'pypy']
     tox_env_list = convert_env_list(TravisPythonEnv, ToxPythonEnv, travis_env_list)
     self.assertEqual(tox_env_list, expected_tox_env_list)
コード例 #8
0
 def test_tox_to_travis_list_5(self):
     tox_env_list = ['']
     expected_travis_env_list = []
     travis_env_list = convert_env_list(ToxPythonEnv, TravisPythonEnv, tox_env_list)
     self.assertEqual(travis_env_list, expected_travis_env_list)
コード例 #9
0
 def test_tox_to_travis_list_3(self):
     tox_env_list = ['py24', 'pypy', 'jython']
     expected_travis_env_list = ['pypy']
     travis_env_list = convert_env_list(ToxPythonEnv, TravisPythonEnv, tox_env_list)
     self.assertEqual(travis_env_list, expected_travis_env_list)
コード例 #10
0
 def test_tox_to_travis_list_2(self):
     tox_env_list = ['py26', 'py27', 'py32', 'pypy', 'jython']
     expected_travis_env_list = ['2.6', '2.7', '3.2', 'pypy']
     travis_env_list = convert_env_list(ToxPythonEnv, TravisPythonEnv, tox_env_list)
     self.assertEqual(travis_env_list, expected_travis_env_list)