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

Method test_ra2_detected

tests/unit/test_patterns_new.py:809–810  ·  view source on GitHub ↗
(self, content: str, filename: str, filetype: str)

Source from the content-addressed store, hash-verified

807 ],
808 )
809 def test_ra2_detected(self, content: str, filename: str, filetype: str) -> None:
810 assert any(f.rule_id == "RA2" for f in ra_mod.analyze(content, filename, filetype))
811
812 def test_safe_content_produces_no_findings(self) -> None:
813 findings = ra_mod.analyze(

Callers

nothing calls this directly

Calls 1

analyzeMethod · 0.80

Tested by

no test coverage detected