

def test_anonymous(self):
    '\n        Test setting ANONYMOUS as the authentication mechanism.\n        '
    self.authenticator.jid = jid.JID('example.com')
    self.authenticator.password = None
    name = 'ANONYMOUS'
    self.assertEqual(name, self._setMechanism(name))

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/words/test/test_jabbersasl.py SASLInitiatingInitializerSetMechanismTest.test_anonymous/original