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

Method test_stls

Lib/test/test_poplib.py:412–415  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

410
411 @requires_ssl
412 def test_stls(self):
413 expected = b'+OK Begin TLS negotiation'
414 resp = self.client.stls()
415 self.assertEqual(resp, expected)
416
417 @requires_ssl
418 def test_stls_context(self):

Callers

nothing calls this directly

Calls 2

stlsMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected