Ejemplo n.º 1
0
	def test_cmd_shutdown_empty(self):
		with self.assertRaises(SystemExit):
			ircbot.cmd_shutdown()
Ejemplo n.º 2
0
	def test_cmd_shutdown_with_argument(self):
		with self.assertRaises(SystemExit):
			ircbot.cmd_shutdown("message")