* examples/movecue.py:

* examples/readcue.py:
	* morituri/image/cue.py:
	* morituri/image/image.py:
	* morituri/image/toc.py:
	* morituri/program/cdrdao.py:
	* morituri/test/test_image_cue.py:
	* morituri/test/test_image_toc.py:
	  Cue -> CueFile
	  TOC -> TocFile
This commit is contained in:
Thomas Vander Stichele
2009-05-04 16:01:19 +00:00
parent 2dbd307096
commit c17a28d7ae
9 changed files with 25 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ from morituri.image import toc
class CureTestCase(unittest.TestCase):
def setUp(self):
self.toc = toc.TOC(os.path.join(os.path.dirname(__file__),
self.toc = toc.TocFile(os.path.join(os.path.dirname(__file__),
'cure.toc'))
self.toc.parse()
self.assertEquals(len(self.toc.tracks), 13)
@@ -33,7 +33,7 @@ class CureTestCase(unittest.TestCase):
# Bloc Party - Silent Alarm has a Hidden Track One Audio
class BlocTestCase(unittest.TestCase):
def setUp(self):
self.toc = toc.TOC(os.path.join(os.path.dirname(__file__),
self.toc = toc.TocFile(os.path.join(os.path.dirname(__file__),
'bloc.toc'))
self.toc.parse()
self.assertEquals(len(self.toc.tracks), 13)