示例#1
0
    def test_avid_mxf_dataset(self):
        """ Test Avid MXF data set """

        primer = testmxf.load_klv("primer", s377m.MXFPrimer)
        data_read, data_write = testmxf.read_and_write("avid_dataset", avid.AvidMXFDataSet, primer)
        self.assertEqual(data_read, data_write)

        data_read, data_write = testmxf.read_and_write("avid_dataset2", avid.AvidMXFDataSet, primer)
        self.assertEqual(data_read, data_write)
示例#2
0
    def test_avid_mxf_dataset(self):
        """ Test Avid MXF data set """

        primer = testmxf.load_klv('primer', s377m.MXFPrimer)
        data_read, data_write = testmxf.read_and_write('avid_dataset',
                                                       avid.AvidMXFDataSet,
                                                       primer)
        self.assertEqual(data_read, data_write)

        data_read, data_write = testmxf.read_and_write('avid_dataset2',
                                                       avid.AvidMXFDataSet,
                                                       primer)
        self.assertEqual(data_read, data_write)
示例#3
0
    def test_avid_metadata_preface(self):
        """ Test Avid Metadata Preface """

        primer = testmxf.load_klv('primer', s377m.MXFPrimer)
        data_read, data_write = testmxf.read_and_write(
            'avid_metadata_preface', avid.AvidMetadataPreface, primer)
        self.assertEqual(data_read, data_write)
示例#4
0
    def test_avid_aaf_definition(self):
        """ Test Avid AAF Definition """

        primer = testmxf.load_klv('primer', s377m.MXFPrimer)
        data_read, data_write = testmxf.read_and_write('avid_aaf_definition',
                                                       avid.AvidAAFDefinition,
                                                       primer)
        self.assertEqual(data_read, data_write)
示例#5
0
    def test_avid_aaf_definition(self):
        """ Test Avid AAF Definition """

        primer = testmxf.load_klv("primer", s377m.MXFPrimer)
        data_read, data_write = testmxf.read_and_write("avid_aaf_definition", avid.AvidAAFDefinition, primer)
        self.assertEqual(data_read, data_write)
示例#6
0
    def test_avid_metadata_preface(self):
        """ Test Avid Metadata Preface """

        primer = testmxf.load_klv("primer", s377m.MXFPrimer)
        data_read, data_write = testmxf.read_and_write("avid_metadata_preface", avid.AvidMetadataPreface, primer)
        self.assertEqual(data_read, data_write)
示例#7
0
    def test_avid_object_directory(self):
        """ Test Avid Object Directory """

        data_read, data_write = testmxf.read_and_write("avid_object_directory", avid.AvidObjectDirectory)
        self.assertEqual(data_read, data_write)
示例#8
0
    def test_avid_object_directory(self):
        """ Test Avid Object Directory """

        data_read, data_write = testmxf.read_and_write(
            'avid_object_directory', avid.AvidObjectDirectory)
        self.assertEqual(data_read, data_write)