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