예제 #1
0
	def test_cmd_shutdown_empty(self):
		with self.assertRaises(SystemExit):
			ircbot.cmd_shutdown()
예제 #2
0
	def test_cmd_shutdown_with_argument(self):
		with self.assertRaises(SystemExit):
			ircbot.cmd_shutdown("message")