def setUp(self): super(UnregisterCommand, self).setUp() self.command = consumer_manage.ConsumerUnregisterCommand(self.context)
def test_unregister(self): try: consumer_manage.ConsumerUnregisterCommand(self.mock_context) except Exception, e: self.fail(str(e))