

def test_get_default_input_definition_returns_default_values(self):
    application = Application()
    application.set_auto_exit(False)
    application.set_catch_exceptions(False)
    definition = application.get_definition()
    self.assertTrue(definition.has_argument('command'))
    self.assertTrue(definition.has_option('help'))
    self.assertTrue(definition.has_option('quiet'))
    self.assertTrue(definition.has_option('verbose'))
    self.assertTrue(self.has_option('version'))
    self.assertTrue(definition.has_option('ansi'))
    self.assertTrue(definition.has_option('no-ansi'))
    self.assertTrue(definition.has_option('no-interaction'))

dataset/ETHPy150Open sdispater/cleo/tests/test_application.py ApplicationTest.test_get_default_input_definition_returns_default_values/VarMisuse@90/120 `definition`->`self`