'Test translation retrieval of a video module with
multiple transcripts uploaded by a user.'

def test_video_with_multiple_transcripts_translation_retrieval(self):

    xml_data_transcripts = '\n                                                <video    display_name="Test    Video"\n                                                                            youtube="1.0:p2Q6BrNhdh8,0.75:izygArpw-Qo,1.25:1EeWXzPdhSA,1.5:rABDYkeK0x8"\n                                                                            show_captions="false"\n                                                                            download_track="false"\n                                                                            start_time="00:00:01"\n                                                                            download_video="false"\n                                                                            end_time="00:01:00">\n                                                        <source    src="http://www.example.com/source.mp4"/>\n                                                        <track    src="http://www.example.com/track"/>\n                                                        <handout    src="http://www.example.com/handout"/>\n                                                        <transcript    language="ge"    src="subs_grmtran1.srt"    />\n                                                        <transcript    language="hr"    src="subs_croatian1.srt"    />\n                                                </video>\n                                '
    descriptor = instantiate_descriptor(data=xml_data_transcripts)
    translations = descriptor.available_translations(descriptor.get_transcripts_info(), verify_assets=False)
    self.assertEqual(translations, ['hr', 'ge'])
