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

Method test_verify_false_fires

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

Source from the content-addressed store, hash-verified

166
167class TestTLS001:
168 def test_verify_false_fires(self):
169 code = "resp = requests.get(url, verify=False)"
170 assert fires(code, "TLS001"), "TLS001 must fire: requests verify=False"
171
172 def test_disable_warnings_fires(self):
173 code = "urllib3.disable_warnings(InsecureRequestWarning)"

Callers

nothing calls this directly

Calls 1

firesFunction · 0.70

Tested by

no test coverage detected