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']
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"]