MCPcopy Create free account
hub / github.com/conda/constructor / test_normalize_path

Function test_normalize_path

tests/test_utils.py:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def test_normalize_path():
24 path = "//test//test/test".replace("/", sep)
25 assert normalize_path(path) == "/test/test/test".replace("/", sep)
26
27 path = "test///test/test".replace("/", sep)
28 assert normalize_path(path) == "test/test/test".replace("/", sep)
29
30
31def test_bat_env_var_esc():

Callers

nothing calls this directly

Calls 1

normalize_pathFunction · 0.90

Tested by

no test coverage detected