MCPcopy Create free account
hub / github.com/apache/qpid-proton / testSSLPlainSimple

Method testSSLPlainSimple

python/tests/proton_tests/sasl.py:401–418  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

399 self.c2 = Connection()
400
401 def testSSLPlainSimple(self):
402 if not SASL.extended():
403 raise Skipped("Simple SASL server does not support PLAIN")
404 common.ensureCanTestExtendedSASL()
405
406 clientUser = 'user@proton'
407 mech = 'PLAIN'
408
409 self.c1.user = clientUser
410 self.c1.password = 'password'
411 self.c1.hostname = 'localhost'
412
413 self.client_domain.set_peer_authentication(SSLDomain.ANONYMOUS_PEER)
414
415 _sslConnection(self.client_domain, self.t1, self.c1)
416 _sslConnection(self.server_domain, self.t2, self.c2)
417
418 _testSaslMech(self, mech, encrypted=True)
419
420 def testSSLPlainAuthzid(self):
421 if not SASL.extended():

Callers

nothing calls this directly

Calls 5

SkippedClass · 0.85
_sslConnectionFunction · 0.85
_testSaslMechFunction · 0.85
extendedMethod · 0.80

Tested by

no test coverage detected