def test_add_command_with_empty_constructor(self):
        application = Application()

        self.assertRaisesRegexp(
            Exception,
            'Command class "Foo5Command" is not correctly initialized\.'
            'You probably forgot to call the parent constructor\.',
            application.add,
            Foo5Command()
        )
Application.add() should raise an exception when command constructor is empty
dataset/ETHPy150Open sdispater/cleo/tests/test_application.py/ApplicationTest.test_add_command_with_empty_constructor