MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_nfkc_fullwidth_paren

Method test_nfkc_fullwidth_paren

tests/test_lint.py:402–404  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

400 assert _normalize_target("concepts/gist_memory") == "concepts/gist-memory"
401
402 def test_nfkc_fullwidth_paren(self):
403 # Full-width ) normalizes to ASCII ) via NFKC
404 assert _normalize_target("summaries/A(B)") == _normalize_target("summaries/A(B)")
405
406 def test_collapses_repeated_hyphens(self):
407 assert _normalize_target("concepts/foo--bar") == "concepts/foo-bar"

Callers

nothing calls this directly

Calls 1

_normalize_targetFunction · 0.90

Tested by

no test coverage detected