Beispiel #1
0
 def test_complex_path3(self):
     assert split_path(
         "/path_part1/path_part2/path_part3") == ("path_part1",
                                                  "path_part2",
                                                  "path_part3",)
Beispiel #2
0
 def test_simple_path3(self):
     assert split_path("/path_part") == ("path_part",)
Beispiel #3
0
 def test_empty_path3(self):
     assert split_path("/") == ()
Beispiel #4
0
 def test_empty_path2(self):
     assert split_path(".") == ()
Beispiel #5
0
 def test_empty_path1(self):
     assert split_path("") == ()
Beispiel #6
0
 def test_none_path(self):
     assert split_path(None) == ()