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

Method test_oh3_detected

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

Source from the content-addressed store, hash-verified

284 ],
285 )
286 def test_oh3_detected(self, content: str, filename: str, filetype: str) -> None:
287 assert any(f.rule_id == "OH3" for f in oh_mod.analyze(content, filename, filetype))
288
289 def test_safe_content_produces_no_findings(self) -> None:
290 findings = oh_mod.analyze(

Callers

nothing calls this directly

Calls 1

analyzeMethod · 0.80

Tested by

no test coverage detected