[SCM] morituri/master: * morituri/program/cdrdao.py: * morituri/test/test_program_cdrdao.py (added): Split out the parser from the task. Test the parser.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:08:55 UTC 2014


The following commit has been merged in the master branch:
commit ffbda81f09955a82734b13eb31b366d288ef5882
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Mon May 4 09:23:35 2009 +0000

    	* morituri/program/cdrdao.py:
    	* morituri/test/test_program_cdrdao.py (added):
    	  Split out the parser from the task.  Test the parser.

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,

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list