def test_it_finds_the_correct_child_group(self): app = App() command = Command() result = app.addCommand(command) self.assertTrue(result)
def test_it_validates_command_object_falsy(self): app = App() command = object result = app.addCommand(command) self.assertFalse(result)