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

Method test_verify_capath_safe

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

Source from the content-addressed store, hash-verified

178 assert not_fires(code, "TLS001"), "TLS001 must NOT fire for verify=True"
179
180 def test_verify_capath_safe(self):
181 code = "resp = requests.get(url, verify='/etc/ssl/certs/ca-bundle.crt')"
182 assert not_fires(code, "TLS001"), "TLS001 must NOT fire for verify=CA path"
183
184
185# ============================================================

Callers

nothing calls this directly

Calls 1

not_firesFunction · 0.70

Tested by

no test coverage detected