pitivi r1429 - trunk/tests



Author: edwardrv
Date: Fri Nov 28 17:37:29 2008
New Revision: 1429
URL: http://svn.gnome.org/viewvc/pitivi?rev=1429&view=rev

Log:
test_timeline_objects: Currently too much code assumes any ObjectFactory has a duration

We should revert the commented line back and fix this !

Modified:
   trunk/tests/test_timeline_objects.py

Modified: trunk/tests/test_timeline_objects.py
==============================================================================
--- trunk/tests/test_timeline_objects.py	(original)
+++ trunk/tests/test_timeline_objects.py	Fri Nov 28 17:37:29 2008
@@ -12,7 +12,11 @@
     """
 
     def setUp(self):
-        self.factory1 = common.TestObjectFactory()
+        # FIXME : Change this back to the commented line once we've
+        # fixed the code that assumes that any ObjectFactory has a
+        # duration.
+        #self.factory1 = common.TestObjectFactory()
+        self.factory1 = common.TestFileSourceFactory()
         self.object1 = common.TestTimelineObject(factory=self.factory1,
                                                  start = 0,
                                                  duration = gst.SECOND,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]