MCPcopy
hub / github.com/pallets/werkzeug / test_safe_join_not_windows_special

Function test_safe_join_not_windows_special

tests/test_security.py:84–86  ·  view source on GitHub ↗
(monkeypatch: pytest.MonkeyPatch)

Source from the content-addressed store, hash-verified

82
83
84def test_safe_join_not_windows_special(monkeypatch: pytest.MonkeyPatch) -> None:
85 monkeypatch.setattr("os.name", "posix")
86 assert safe_join("a", "CON") == "a/CON"

Callers

nothing calls this directly

Calls 1

safe_joinFunction · 0.90

Tested by

no test coverage detected