From 3a42598fa5c06d6e45d18ec99151f8b61dcf10a1 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 24 May 2011 16:09:14 +0000 Subject: [PATCH] * morituri/test/test_common_encode.py: Use pink-noise as a wave form to make sure it's long enough. Fixes last tests for F-15. --- ChangeLog | 6 ++++++ morituri/test/test_common_encode.py | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 12e010e..89ddbbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-24 Thomas Vander Stichele + + * morituri/test/test_common_encode.py: + Use pink-noise as a wave form to make sure it's long enough. + Fixes last tests for F-15. + 2011-05-24 Thomas Vander Stichele * morituri/common/checksum.py: diff --git a/morituri/test/test_common_encode.py b/morituri/test/test_common_encode.py index 3f7e6a8..8e0a512 100644 --- a/morituri/test/test_common_encode.py +++ b/morituri/test/test_common_encode.py @@ -94,7 +94,8 @@ class SafeRetagTestCase(tcommon.TestCase): self._fd, self._path = tempfile.mkstemp(suffix=u'.morituri.retag.flac') os.system('gst-launch ' - 'audiotestsrc num-buffers=10 samplesperbuffer=588 ! ' + 'audiotestsrc ' + 'num-buffers=40 samplesperbuffer=588 wave=pink-noise ! ' 'audioconvert ! ' 'audio/x-raw-int,channels=2,width=16,height=16,rate=44100 ! ' 'flacenc ! filesink location=%s > /dev/null 2>&1' % self._path)