'Verify that `download_video_link` is set to None for HLS videos if no video id'

def test_get_html_hls_no_video_id(self):

    video_xml = '\n                                <video    display_name="Video"    download_video="true"    source="https://hls.com/hls.m3u8">\n                                ["https://hls.com/hls2.m3u8",    "https://hls.com/hls3.m3u8"]\n                                </video>\n                                '
    self.initialize_module(data=video_xml)
    context = self.item_descriptor.render(STUDENT_VIEW).content
    self.assertIn("'download_video_link':    None", context)
