'Create initial data.'

def setUp(self):

    super(TestUploadTranscripts, self).setUp()
    self.good_srt_file = tempfile.NamedTemporaryFile(suffix='.srt')
    self.good_srt_file.write(textwrap.dedent("\n                                                1\n                                                00:00:10,500    -->    00:00:13,000\n                                                Elephant's    Dream\n\n                                                2\n                                                00:00:15,000    -->    00:00:18,000\n                                                At    the    left    we    can    see...\n                                "))
    self.good_srt_file.seek(0)
    self.bad_data_srt_file = tempfile.NamedTemporaryFile(suffix='.srt')
    self.bad_data_srt_file.write('Some    BAD    data')
    self.bad_data_srt_file.seek(0)
    self.bad_name_srt_file = tempfile.NamedTemporaryFile(suffix='.BAD')
    self.bad_name_srt_file.write(textwrap.dedent("\n                                                1\n                                                00:00:10,500    -->    00:00:13,000\n                                                Elephant's    Dream\n\n                                                2\n                                                00:00:15,000    -->    00:00:18,000\n                                                At    the    left    we    can    see...\n                                "))
    self.bad_name_srt_file.seek(0)
    self.ufeff_srt_file = tempfile.NamedTemporaryFile(suffix='.srt')
