[pitivi] Corrects the priority issue we get in the test suite due to change of priority handling in TrackObje



commit 1ab8a8733011f6440ee8af53a350a398932639e4
Author: Thibault Saunier <tsaunier gnome org>
Date:   Thu Jul 15 18:37:13 2010 -0400

    Corrects the priority issue we get in the test suite due to change of priority handling in TrackObject

 tests/test_transitions.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_transitions.py b/tests/test_transitions.py
index 53ced1c..1756293 100644
--- a/tests/test_transitions.py
+++ b/tests/test_transitions.py
@@ -214,10 +214,10 @@ class TestTransitions(TestCase):
         vt.a.updatePosition(0)
         vt.b.updatePosition(1)
 
-        self.failUnlessEqual(vt.a.gnl_object.props.priority, 8)
+        self.failUnlessEqual(vt.a.gnl_object.props.priority, 9)
         self.failUnlessEqual(at.a._stagger, 0)
         self.failUnlessEqual(at.b._stagger, 1)
-        self.failUnlessEqual(vt.b.gnl_object.props.priority, 9)
+        self.failUnlessEqual(vt.b.gnl_object.props.priority, 10)
 
         self.failUnlessEqual(vt.controller.get("alpha", 0), 1.0)
         self.failUnlessEqual(vt.controller.get("alpha", vt.duration),



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