[SCM] morituri/master: add content to an older test
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:10:14 UTC 2014
The following commit has been merged in the master branch:
commit 02ae3d5bfd25d722642184c38e62f91c247b9b9c
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Sat Nov 23 16:01:20 2013 -0500
add content to an older test
diff --git a/morituri/test/test_common_common.py b/morituri/test/test_common_common.py
index 073a93a..de9e8a4 100644
--- a/morituri/test/test_common_common.py
+++ b/morituri/test/test_common_common.py
@@ -55,5 +55,13 @@ class GetRealPathTestCase(tcommon.TestCase):
fd, path = tempfile.mkstemp(suffix=u'back\\slash.flac')
refPath = os.path.join(os.path.dirname(path), 'fake.cue')
+ self.assertEquals(common.getRealPath(refPath, path),
+ path)
+
+ # same path, but with wav extension, will point to flac file
+ wavPath = path[:-4] + 'wav'
+ self.assertEquals(common.getRealPath(refPath, wavPath),
+ path)
+
os.close(fd)
os.unlink(path)
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list