'Test the validation message when no associated transcript file uploaded.'

@ddt.data(('<transcript    language="ur"    src=""    />', 'There    is    no    transcript    file    associated    with    the    Urdu    language.'), ('<transcript    language="eo"    src=""    /><transcript    language="ur"    src=""    />', 'There    are    no    transcript    files    associated    with    the    Esperanto,    Urdu    languages.'))
@ddt.unpack
@override_settings(ALL_LANGUAGES=ALL_LANGUAGES)
def test_no_transcript_validation_message(self, xml_transcripts, expected_validation_msg):

    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                                                        {xml_transcripts}\n                                                </video>\n                                '.format(xml_transcripts=xml_transcripts)
    descriptor = instantiate_descriptor(data=xml_data_transcripts)
    validation = descriptor.validate()
    self.assert_validation_message(validation, expected_validation_msg)
