Add testcase for Gentlemen: same CDDB ID as Interpol

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
This commit is contained in:
Thomas Vander Stichele
2019-05-09 09:40:37 +02:00
committed by JoeLametta
parent 3a74c60344
commit 7a4680f285
2 changed files with 105 additions and 0 deletions

View File

@@ -320,6 +320,20 @@ class TOTBLTestCase(common.TestCase):
self.assertEqual(self.toc.table.getCDDBDiscId(), '810b7b0b')
class GentlemenTestCase(common.TestCase):
def setUp(self):
self.path = os.path.join(os.path.dirname(__file__),
u'gentlemen.fast.toc')
self.toc = toc.TocFile(self.path)
self.toc.parse()
self.assertEquals(len(self.toc.table.tracks), 11)
def testCDDBId(self):
self.toc.table.absolutize()
self.assertEquals(self.toc.table.getCDDBDiscId(), '810b7b0b')
# The Strokes - Someday has a 1 frame SILENCE marked as such in toc