(self)
| 619 | class TFLACBadDuplicateVorbisComment(TestCase): |
| 620 | |
| 621 | def setUp(self): |
| 622 | self.filename = get_temp_copy( |
| 623 | os.path.join(DATA_DIR, "silence-44-s.flac")) |
| 624 | |
| 625 | # add a second vorbis comment block to the file right after the first |
| 626 | some_tags = VCFLACDict() |
| 627 | some_tags["DUPLICATE"] = ["SECOND"] |
| 628 | f = FLAC(self.filename) |
| 629 | f.tags["DUPLICATE"] = ["FIRST"] |
| 630 | assert f.tags is f.metadata_blocks[2] |
| 631 | f.metadata_blocks.insert(3, some_tags) |
| 632 | f.save() |
| 633 | |
| 634 | def tearDown(self): |
| 635 | os.unlink(self.filename) |
nothing calls this directly
no test coverage detected