'Overrides YOUTUBE and CONTENTSTORE settings'

def setUp(self):

    super(VideoDescriptorIndexingTestCase, self).setUp()
    self.youtube_setting = getattr(settings, 'YOUTUBE', None)
    self.contentstore_setting = getattr(settings, 'CONTENTSTORE', None)
    settings.YOUTUBE = {'API': 'www.youtube.com/iframe_api', 'METADATA_URL': 'www.googleapis.com/youtube/v3/videos/', 'TEXT_API': {'url': 'video.google.com/timedtext', 'params': {'lang': 'en', 'v': 'set_youtube_id_of_11_symbols_here'}}}
    settings.CONTENTSTORE = {'ENGINE': 'xmodule.contentstore.mongo.MongoContentStore', 'DOC_STORE_CONFIG': {'host': ('edx.devstack.mongo' if ('BOK_CHOY_HOSTNAME' in os.environ) else 'localhost'), 'db': ('test_xcontent_%s' % uuid4().hex)}, 'ADDITIONAL_OPTIONS': {'trashcan': {'bucket': 'trash_fs'}}}
    self.addCleanup(self.cleanup)
