

def test_find_command_with_ambiguous_namespace_but_unique_name(self):
    '\n        Application.find() returns a command with ambiguous namespace\n        '
    application = Application()
    application.add(FooCommand())
    application.add(FoobarCommand())
    self.assertTrue(isinstance(application.find('f:f'), FoobarCommand))

dataset/ETHPy150Open sdispater/cleo/tests/test_application.py ApplicationTest.test_find_command_with_ambiguous_namespace_but_unique_name/original