def find_invalid_namespace(self):
        application = Application()

        self.assertRaisesRegexp(
            Exception,
            'There are no commands defined in the "bar" namespace\.',
            application.find_namespace,
            'bar'
        )
Application.find_namespace() should raise an error when finding missing namespace
dataset/ETHPy150Open sdispater/cleo/tests/test_application.py/ApplicationTest.find_invalid_namespace