[SCM] morituri/master: add assert

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


The following commit has been merged in the master branch:
commit 1bb00ba7ff194d072765f2885df13e93251dd13c
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun May 3 19:20:53 2009 +0000

    add assert

diff --git a/morituri/test/test_image_cue.py b/morituri/test/test_image_cue.py
index 66598ba..537d886 100644
--- a/morituri/test/test_image_cue.py
+++ b/morituri/test/test_image_cue.py
@@ -64,6 +64,13 @@ class WriteCueTestCase(unittest.TestCase):
         t.index(1, 1100, f)
         c.tracks.append(t)
 
-        print c.dump()
+        self.assertEquals(c.dump(), """FILE "track01.wav" WAVE
+  TRACK 01 AUDIO
+    INDEX 01 00:00:00
+  TRACK 02 AUDIO
+    INDEX 00 00:13:25
+FILE "track02.wav" WAVE
+    INDEX 01 00:14:50
+""")
 
         

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list