def setUp(self): super(UpdateCommandTests, self).setUp() self.command = consumer_manage.ConsumerUpdateCommand(self.context)
def test_update(self): try: consumer_manage.ConsumerUpdateCommand(self.mock_context) except Exception, e: self.fail(str(e))