

def test_sendAuthInitialResponse(self):
    '\n        Test starting authentication with an initial response.\n        '
    self.init.initialResponse = 'dummy'
    self.init.start()
    auth = self.output[0]
    self.assertEqual(NS_XMPP_SASL, auth.uri)
    self.assertEqual('auth', auth.name)
    self.assertEqual('DUMMY', auth['mechanism'])
    self.assertEqual('ZHVtbXk=', str(auth))

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/words/test/test_jabbersasl.py SASLInitiatingInitializerTest.test_sendAuthInitialResponse/original