def test_rabbit(self): rabbit = Rabbit() rabbit.sendMessage() things = rabbit.relayMessage() self.failIf(things != "Hello World!")
def test(self): rabbit = Rabbit() rabbit.sendMessage() things = rabbit.relayMessage() things = things.decode("unicode_escape") self.assertFalse(things != "Hello World!")