Add testcase for Gentlemen: same CDDB ID as Interpol
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
This commit is contained in:
committed by
JoeLametta
parent
3a74c60344
commit
7a4680f285
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user