예제 #1
0
파일: test_utils.py 프로젝트: dexy/dexy
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ['', 'foo', 'bar', 'baz']
예제 #2
0
파일: test_utils.py 프로젝트: dexy/dexy
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ['foo', 'bar', 'baz']
예제 #3
0
파일: test_utils.py 프로젝트: GWhized/dexy
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ['', 'foo', 'bar', 'baz']
예제 #4
0
파일: test_utils.py 프로젝트: GWhized/dexy
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ['foo', 'bar', 'baz']
예제 #5
0
def test_split_path_with_root():
    path = "/foo/bar/baz"
    assert split_path(path) == ["", "foo", "bar", "baz"]
예제 #6
0
def test_split_path():
    path = "foo/bar/baz"
    assert split_path(path) == ["foo", "bar", "baz"]