Method
test_oh1_detected
(self, content: str, filename: str, filetype: str)
Source from the content-addressed store, hash-verified
| 242 | ], |
| 243 | ) |
| 244 | def test_oh1_detected(self, content: str, filename: str, filetype: str) -> None: |
| 245 | assert any(f.rule_id == "OH1" for f in oh_mod.analyze(content, filename, filetype)) |
| 246 | |
| 247 | def test_oh1_confidence_boost_for_python(self) -> None: |
| 248 | findings = oh_mod.analyze('exec(response["code"])', "runner.py", "python") |
Callers
nothing calls this directly
Tested by
no test coverage detected