def test_register(self):
        application = Application()
        command = application.register('foo')

        self.assertEqual(
            'foo',
            command.get_name(),
            msg='.register() registers a new command'
        )
Application.register() registers a new command
dataset/ETHPy150Open sdispater/cleo/tests/test_application.py/ApplicationTest.test_register