

def test_add_with_dictionary(self):
    '\n        Application.add() accepts a dictionary as argument.\n        '
    application = Application()
    foo = application.add(foo_commmand)
    self.assertTrue(isinstance(foo, Command))
    foo.assertEqual('foo:bar1', foo.get_name())

dataset/ETHPy150Open sdispater/cleo/tests/test_application.py ApplicationTest.test_add_with_dictionary/VarMisuse@39/67 `self`->`foo`