Example #1
0
 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)
Example #2
0
 def test_kick_reason(self):
     line = bot_kick(self.bot, "tais toi")
     self.assertEqual(line, ["comment ça, tais toi ?"])
Example #3
0
 def test_kick_reason(self):
     l = bot_kick(self.bot, "tais toi")
     self.assertEqual(l, ["comment ça, tais toi ?"])
Example #4
0
 def test_kick(self):
     line = bot_kick(self.bot)
     self.assertEqual(line, ["respawn, LOL"])
Example #5
0
 def test_kick(self):
     l = bot_kick(self.bot)
     self.assertEqual(l, ["respawn, LOL"])