Exemple #1
0
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ['', 'foo', 'bar', 'baz']
Exemple #2
0
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ['foo', 'bar', 'baz']
Exemple #3
0
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ['', 'foo', 'bar', 'baz']
Exemple #4
0
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ['foo', 'bar', 'baz']
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ["", "foo", "bar", "baz"]
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ["foo", "bar", "baz"]