[SCM] morituri/master: add a test that doesn't work yet
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:01 UTC 2014
The following commit has been merged in the master branch:
commit 6929f89478f7790f37ad3a0b39212dde89310331
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Fri May 22 20:13:10 2009 +0000
add a test that doesn't work yet
diff --git a/morituri/test/test_image_toc.py b/morituri/test/test_image_toc.py
index 6c3dc4f..4c9f88d 100644
--- a/morituri/test/test_image_toc.py
+++ b/morituri/test/test_image_toc.py
@@ -183,3 +183,21 @@ class LadyhawkeTestCase(unittest.TestCase):
# c60af50d 13 150 15687 31841 51016 66616 81352 99559 116070 133243
# 149997 161710 177832 207256 2807
+# Das Capital has a htoa and a data track
+# the fast.toc was generated with cdrdao read-toc --fast-toc --session 9
+class CapitalTestCase(unittest.TestCase):
+ def setUp(self):
+ self.toc = toc.TocFile(os.path.join(os.path.dirname(__file__),
+ 'capital.fast.toc'))
+ self.toc.parse()
+ self.assertEquals(len(self.toc.table.tracks), 12)
+ #import code; code.interact(local=locals())
+ self.failIf(self.toc.table.tracks[-1].audio)
+
+ def testCDDBId(self):
+ self.toc.table.absolutize()
+ #self.assertEquals(self.toc.table.getCDDBDiscId(), 'b910140c')
+ # output from cd-discid:
+ # b910140c 12 24320 44855 64090 77885 88095 104020 118245 129255 141765 164487 181780 209250 4440
+ testCDDBId.skip = 'not implemented yet'
+
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list