def test_say(self): cmd = '/say' txt_args = 'Beelzebub What the f**k is wrong with you?' result = talk(cmd, txt_args) expected = "```\r\nBeelzebub says:\r\n–What the f**k is wrong with you?\r\n```" self.assertEqual(expected, result)
def test_whisper(self): cmd = '/whisper' txt_args = 'Beelzebub What the f**k is wrong with you?' result = talk(cmd, txt_args) expected = "```\r\nBeelzebub says:\r\n–__What the f**k is wrong with you?__\r\n```" self.assertEqual(expected, result)
def test_yell(self): cmd = '/yell' txt_args = 'Beelzebub What the f**k is wrong with you?' result = talk(cmd, txt_args) expected = "```\r\nBeelzebub says:\r\n–WHAT THE F**K IS WRONG WITH YOU?\r\n```" self.assertEqual(expected, result)