def test_update_command(self): try: consumer_content.ConsumerContentUpdateCommand(self.mock_context) except Exception, e: self.fail(str(e))
def setUp(self): super(UpdateCommandTests, self).setUp() self.command = consumer_content.ConsumerContentUpdateCommand( self.context)