diff options
Diffstat (limited to 'community/py3-twisted/disable-failing-test.patch')
-rw-r--r-- | community/py3-twisted/disable-failing-test.patch | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/community/py3-twisted/disable-failing-test.patch b/community/py3-twisted/disable-failing-test.patch index 274a0601de7..75890a68556 100644 --- a/community/py3-twisted/disable-failing-test.patch +++ b/community/py3-twisted/disable-failing-test.patch @@ -20,4 +20,32 @@ index a8f8fa7..cfa3143 100644 def test_addElementContent(self): """ Content passed to addElement becomes character data on the new child. - +diff --git a/src/twisted/mail/test/test_imap.py b/src/twisted/mail/test/test_imap.py +index 231140c..d798b87 100644 +--- a/src/twisted/mail/test/test_imap.py ++++ b/src/twisted/mail/test/test_imap.py +@@ -3858,24 +3858,6 @@ class AuthenticatorTests(IMAP4HelperMixin, unittest.TestCase): + return d + + +- def testCramMD5(self): +- self.server.challengers[b'CRAM-MD5'] = CramMD5Credentials +- cAuth = imap4.CramMD5ClientAuthenticator(b'testuser') +- self.client.registerAuthenticator(cAuth) +- +- def auth(): +- return self.client.authenticate(b'secret') +- def authed(): +- self.authenticated = 1 +- +- d1 = self.connected.addCallback(strip(auth)) +- d1.addCallbacks(strip(authed), self._ebGeneral) +- d1.addCallbacks(self._cbStopClient, self._ebGeneral) +- d2 = self.loopback() +- d = defer.gatherResults([d1, d2]) +- return d.addCallback(self._cbTestCramMD5) +- +- + def _cbTestCramMD5(self, ignored): + self.assertEqual(self.authenticated, 1) + self.assertEqual(self.server.account, self.account) |