Skip to content
Snippets Groups Projects
Commit 6de4abad authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

TST: test fixed

parent e457f7a6
No related branches found
No related tags found
2 merge requests!160STY: styling,!127More documentation (docstrings) of parameters add/remove_prefix and restricted_path
...@@ -28,9 +28,9 @@ def test_split_restricted_path(): ...@@ -28,9 +28,9 @@ def test_split_restricted_path():
assert split_restricted_path("/") == [] assert split_restricted_path("/") == []
assert split_restricted_path("test/") == ["test"] assert split_restricted_path("test/") == ["test"]
assert split_restricted_path("/test/") == ["test"] assert split_restricted_path("/test/") == ["test"]
assert split_restricted_path("test/bla") == ["bla", "test"] assert split_restricted_path("test/bla") == ["test", "bla"]
assert split_restricted_path("/test/bla") == ["bla", "test"] assert split_restricted_path("/test/bla") == ["test", "bla"]
assert split_restricted_path("/test1/test2/bla") == ["bla", "test2", "test1"] assert split_restricted_path("/test1/test2/bla") == ["test1", "test2", "bla"]
assert split_restricted_path("/test//bla") == ["bla", "test"] assert split_restricted_path("/test//bla") == ["test", "bla"]
assert split_restricted_path("//test/bla") == ["bla", "test"] assert split_restricted_path("//test/bla") == ["test", "bla"]
assert split_restricted_path("///test//bla////") == ["bla", "test"] assert split_restricted_path("///test//bla////") == ["test", "bla"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment