mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-20 05:05:14 +02:00
Add tests for checking if path are correctly cleaned
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -24,6 +24,8 @@ def test_force_unix_path():
|
||||
assert force_unix_path("a\\b") == "a/b"
|
||||
assert force_unix_path("a\\b\\..\\c") == "a/c"
|
||||
assert force_unix_path("C:\Temp") == "C:/Temp"
|
||||
assert force_unix_path(force_unix_path("C:\Temp")) == "C:/Temp"
|
||||
assert force_unix_path("a//b") == "a/b"
|
||||
|
||||
|
||||
def test_macaddress_to_int():
|
||||
|
||||
Reference in new issue
Block a user