MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / test_mp1_detected

Method test_mp1_detected

tests/unit/test_patterns_new.py:384–385  ·  view source on GitHub ↗
(self, content: str)

Source from the content-addressed store, hash-verified

382 ],
383 )
384 def test_mp1_detected(self, content: str) -> None:
385 assert any(f.rule_id == "MP1" for f in mp_mod.analyze(content, "test.md", "markdown"))
386
387 def test_mp2_repeated_pattern(self) -> None:
388 assert any(f.rule_id == "MP2" for f in mp_mod.analyze("ha" * 50, "test.md", "markdown"))

Callers

nothing calls this directly

Calls 1

analyzeMethod · 0.80

Tested by

no test coverage detected