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