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