Exemple #1
0
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
Exemple #2
0
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
Exemple #3
0
def test_env_path_to_str(inp, exp):
    obs = env_path_to_str(inp)
    assert exp == obs
Exemple #4
0
def test_env_path_to_str(inp, exp):
    obs = env_path_to_str(inp)
    assert exp == obs