def test_env_path_to_str(): cases = [ (['/home/wakka'], '/home/wakka'), (['/home/wakka', '/home/jawaka'], '/home/wakka' + os.pathsep + '/home/jawaka'), ] for inp, exp in cases: obs = env_path_to_str(inp) yield assert_equal, exp, obs
def test_env_path_to_str(inp, exp): obs = env_path_to_str(inp) assert exp == obs