def testGenerator(self): for (decoded, encoded) in self.PAIRS: self.assertMessages(ircutils.authenticate_generator(decoded), encoded)