示例#1
0
文件: test_app.py 项目: ouijan/rabbit
	def test_it_finds_the_correct_child_group(self):
		app = App()
		command = Command()
		result = app.addCommand(command)
		self.assertTrue(result)
示例#2
0
文件: test_app.py 项目: ouijan/rabbit
	def test_it_validates_command_object_falsy(self):
		app = App()
		command = object
		result = app.addCommand(command)
		self.assertFalse(result)