(self)
| 439 | _testSaslMech(self, mech, authzid=authzid, encrypted=True) |
| 440 | |
| 441 | def testSSLPlainSimpleFail(self): |
| 442 | if not SASL.extended(): |
| 443 | raise Skipped("Simple SASL server does not support PLAIN") |
| 444 | common.ensureCanTestExtendedSASL() |
| 445 | |
| 446 | clientUser = 'usr@proton' |
| 447 | mech = 'PLAIN' |
| 448 | |
| 449 | self.c1.user = clientUser |
| 450 | self.c1.password = 'password' |
| 451 | self.c1.hostname = 'localhost' |
| 452 | |
| 453 | self.client_domain.set_peer_authentication(SSLDomain.ANONYMOUS_PEER) |
| 454 | |
| 455 | _sslConnection(self.client_domain, self.t1, self.c1) |
| 456 | _sslConnection(self.server_domain, self.t2, self.c2) |
| 457 | |
| 458 | _testSaslMech(self, mech, clientUser='usr@proton', encrypted=True, authenticated=False) |
| 459 | |
| 460 | def testSSLExternalSimple(self): |
| 461 | if os.name == "nt": |
nothing calls this directly
no test coverage detected