MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / test_reject_policy_safe

Method test_reject_policy_safe

tests/unit/test_missing_rules.py:194–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

192 assert fires(code, "SSH001"), "SSH001 must fire: AutoAddPolicy()"
193
194 def test_reject_policy_safe(self):
195 code = "client.set_missing_host_key_policy(paramiko.RejectPolicy())"
196 assert not_fires(code, "SSH001"), "SSH001 must NOT fire for RejectPolicy"
197
198
199# ============================================================

Callers

nothing calls this directly

Calls 1

not_firesFunction · 0.70

Tested by

no test coverage detected