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)
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)
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)
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)
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)
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)
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)
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)
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)