MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_stls

Method test_stls

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

Source from the content-addressed store, hash-verified

402
403 @requires_ssl
404 def test_stls(self):
405 expected = b'+OK Begin TLS negotiation'
406 resp = self.client.stls()
407 self.assertEqual(resp, expected)
408
409 @requires_ssl
410 def test_stls_context(self):

Callers

nothing calls this directly

Calls 2

stlsMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected