'Tests the video image upload when the feature is disabled.'

@override_switch(VIDEO_IMAGE_UPLOAD_ENABLED, False)
def test_video_image_upload_disabled(self):

    video_image_upload_url = self.get_url_for_course_key(self.course.id, {'edx_video_id': 'test_vid_id'})
    response = self.client.post(video_image_upload_url, {'file': 'dummy_file'}, format='multipart')
    self.assertEqual(response.status_code, 404)
