

def test_register(self):
    '\n        Application.register() registers a new command\n        '
    application = Application()
    command = application.register('foo')
    application.assertEqual('foo', command.get_name(), msg='.register() registers a new command')

dataset/ETHPy150Open sdispater/cleo/tests/test_application.py ApplicationTest.test_register/VarMisuse@27/50 `self`->`application`