pitivi r1430 - trunk/tests
- From: edwardrv svn gnome org
- To: svn-commits-list gnome org
- Subject: pitivi r1430 - trunk/tests
- Date: Fri, 28 Nov 2008 17:37:33 +0000 (UTC)
Author: edwardrv
Date: Fri Nov 28 17:37:33 2008
New Revision: 1430
URL: http://svn.gnome.org/viewvc/pitivi?rev=1430&view=rev
Log:
tests/timeline_source : We need to give a greater factory duration for the test to succeed.
This is especially true if we try to set the media_duration to 2s and it fails because the
factory we provided is only 1s long.
Modified:
trunk/tests/test_timeline_source.py
Modified: trunk/tests/test_timeline_source.py
==============================================================================
--- trunk/tests/test_timeline_source.py (original)
+++ trunk/tests/test_timeline_source.py Fri Nov 28 17:37:33 2008
@@ -12,7 +12,7 @@
gst.log("setting up")
gc.collect()
self.assertEquals(len(BrotherObjects.__instances__), 0)
- self.factory = common.TestFileSourceFactory()
+ self.factory = common.TestFileSourceFactory(duration=2 * gst.SECOND)
self.source = common.TestTimelineFileSource(factory=self.factory,
start = 0,
duration = gst.SECOND,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]