From ffbda81f09955a82734b13eb31b366d288ef5882 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 4 May 2009 09:23:35 +0000 Subject: [PATCH] * morituri/program/cdrdao.py: * morituri/test/test_program_cdrdao.py (added): Split out the parser from the task. Test the parser. --- morituri/test/test_program_cdrdao.py | 1 + 1 file changed, 1 insertion(+) diff --git a/morituri/test/test_program_cdrdao.py b/morituri/test/test_program_cdrdao.py index 4fab8b2..b081221 100644 --- a/morituri/test/test_program_cdrdao.py +++ b/morituri/test/test_program_cdrdao.py @@ -19,6 +19,7 @@ class ParseTestCase(unittest.TestCase): self._handle = open(path) def testParse(self): + # FIXME: we should be testing splitting in byte blocks, not lines for line in self._handle.readlines(): self._parser.read(line) self.assertEquals(self._parser._starts,