* morituri/image/table.py:

* morituri/image/toc.py:
	  Add parsing of ISRC codes.
	  Add first part of CDTEXT stuff.
	* morituri/test/test_image_toc.py:
	  Add test for converting .toc to .cue
	* morituri/test/cure.cue
	  Add reference for converted cure.toc
This commit is contained in:
Thomas Vander Stichele
2009-05-14 08:21:28 +00:00
parent 4040fafd3f
commit 82db5d3b1d
5 changed files with 128 additions and 5 deletions

View File

@@ -78,6 +78,11 @@ class CureTestCase(unittest.TestCase):
self._assertPath(2, 1, None)
self._assertRelative(2, 1, None)
def testConvertCue(self):
cue = self.toc.table.cue()
ref = open(os.path.join(os.path.dirname(__file__), 'cure.cue')).read()
self.assertEquals(cue, ref)
# Bloc Party - Silent Alarm has a Hidden Track One Audio
class BlocTestCase(unittest.TestCase):
def setUp(self):