def test_plain(self):
        self.authenticator.jid = jid.JID('test@example.com')
        self.authenticator.password = 'secret'
        name = "PLAIN"

        self.assertEqual(name, self._setMechanism(name))
Checks to see if all requirements set pass
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/words/test/test_jabbersasl.py/SASLInitiatingInitializerSetMechanismTest.test_plain--crossover with--dataset/ETHPy150Open timothycrosley/hug/hug/interface.py/Interface.check_requirements