コード例 #1
0
ファイル: test_custom.py プロジェクト: Drekorian/PV248_Python
	def test_cmd_shutdown_empty(self):
		with self.assertRaises(SystemExit):
			ircbot.cmd_shutdown()
コード例 #2
0
ファイル: test_custom.py プロジェクト: Drekorian/PV248_Python
	def test_cmd_shutdown_with_argument(self):
		with self.assertRaises(SystemExit):
			ircbot.cmd_shutdown("message")