

def test_get_namespaces(self):
    '\n        Application.get_namespaces() should return registered namespaces\n        '
    application = Application()
    application.add(FooCommand())
    application.add(Foo1Command())
    self.assertEqual(['foo'], self.get_namespaces(), msg='.get_namespaces() returns an array of unique used namespaces')

dataset/ETHPy150Open sdispater/cleo/tests/test_application.py ApplicationTest.test_get_namespaces/VarMisuse@44/73 `application`->`self`