mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-21 00:22:56 +00:00
Change seperator for additonnal images directory otherwise bug on windows
This commit is contained in:
@ -23,8 +23,7 @@ def test_force_unix_path():
|
||||
assert force_unix_path("a/b") == "a/b"
|
||||
assert force_unix_path("a\\b") == "a/b"
|
||||
assert force_unix_path("a\\b\\..\\c") == "a/c"
|
||||
if sys.platform.startswith("win"):
|
||||
assert force_unix_path("C:\Temp") == "C:/Temp"
|
||||
assert force_unix_path("C:\Temp") == "C:/Temp"
|
||||
|
||||
|
||||
def test_macaddress_to_int():
|
||||
|
Reference in New Issue
Block a user