

def test_add_command_with_empty_constructor(self):
    '\n        Application.add() should raise an exception when command constructor is empty\n        '
    application = Application()
    self.assertRaisesRegexp(Exception, 'Command class "Foo5Command" is not correctly initialized\\.You probably forgot to call the parent constructor\\.', self.add, Foo5Command())

dataset/ETHPy150Open sdispater/cleo/tests/test_application.py ApplicationTest.test_add_command_with_empty_constructor/VarMisuse@26/99 `application`->`self`