Esempio n. 1
0
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ['', 'foo', 'bar', 'baz']
Esempio n. 2
0
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ['foo', 'bar', 'baz']
Esempio n. 3
0
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ['', 'foo', 'bar', 'baz']
Esempio n. 4
0
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ['foo', 'bar', 'baz']
Esempio n. 5
0
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ["", "foo", "bar", "baz"]
Esempio n. 6
0
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ["foo", "bar", "baz"]