'Test index dictionary of a video module with
two transcripts uploaded by a user.'

def test_video_with_multiple_transcripts_index_dictionary(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)
    save_to_store(SRT_FILEDATA, 'subs_grmtran1.srt', 'text/srt', descriptor.location)
    save_to_store(CRO_SRT_FILEDATA, 'subs_croatian1.srt', 'text/srt', descriptor.location)
    self.assertEqual(descriptor.index_dictionary(), {'content': {'display_name': 'Test    Video', 'transcript_ge': 'sprechen    sie    deutsch?    Ja,    ich    spreche    Deutsch', 'transcript_hr': 'Dobar    dan!    Kako    ste    danas?'}, 'content_type': 'Video'})
