def test_lol_kick(self): self.bot.send('lol', origin='michel') l = bot_kick(self.bot) self.assertIn('Au passage, michel est un sacré Kevin', l)
def test_kick_reason(self): line = bot_kick(self.bot, "tais toi") self.assertEqual(line, ["comment ça, tais toi ?"])
def test_kick_reason(self): l = bot_kick(self.bot, "tais toi") self.assertEqual(l, ["comment ça, tais toi ?"])
def test_kick(self): line = bot_kick(self.bot) self.assertEqual(line, ["respawn, LOL"])
def test_kick(self): l = bot_kick(self.bot) self.assertEqual(l, ["respawn, LOL"])