MCPcopy Index your code
hub / github.com/python/cpython / test_empty_cert

Method test_empty_cert

Lib/test/test_ssl.py:733–735  ·  view source on GitHub ↗

Wrapping with an empty cert file

(self)

Source from the content-addressed store, hash-verified

731 certfile=certfile)
732
733 def test_empty_cert(self):
734 """Wrapping with an empty cert file"""
735 self.bad_cert_test("nullcert.pem")
736
737 def test_malformed_cert(self):
738 """Wrapping with a badly formatted certificate (syntax error)"""

Callers

nothing calls this directly

Calls 1

bad_cert_testMethod · 0.95

Tested by

no test coverage detected