MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / test_sanitize_label_safe_passthrough

Function test_sanitize_label_safe_passthrough

tests/test_security.py:217–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215 assert len(sanitize_label(long_label)) <= 256
216
217def test_sanitize_label_safe_passthrough():
218 assert sanitize_label("MyClass") == "MyClass"
219 assert sanitize_label("extract_python") == "extract_python"
220
221
222# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

sanitize_labelFunction · 0.90

Tested by

no test coverage detected