Exemple #1
0
def test_seq_to_upper_pathsep():
    cases = [
        ([], ''),
        (['a'], 'A'),
        (['a', 'b'], os.pathsep.join(['A', 'B'])),
        (['a', 'B', 'c'], os.pathsep.join(['A', 'B', 'C'])),
        ]
    for inp, exp in cases:
        obs = seq_to_upper_pathsep(inp)
        assert exp == obs
Exemple #2
0
def test_seq_to_upper_pathsep(inp, exp):
    obs = seq_to_upper_pathsep(inp)
    assert exp == obs
Exemple #3
0
def test_seq_to_upper_pathsep(inp, exp):
    obs = seq_to_upper_pathsep(inp)
    assert exp == obs