[pitivi] Adapt the test_track code to the new priority management
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Adapt the test_track code to the new priority management
- Date: Wed, 22 Sep 2010 13:41:16 +0000 (UTC)
commit 5ea61f7478f7af0dd62407f29614bb68fc6229e1
Author: Thibault Saunier <tsaunier gnome org>
Date: Thu Jul 15 18:07:40 2010 -0400
Adapt the test_track code to the new priority management
tests/test_track.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_track.py b/tests/test_track.py
index afa4966..a9e4470 100644
--- a/tests/test_track.py
+++ b/tests/test_track.py
@@ -106,7 +106,7 @@ class TestTrackObject(TestCase):
# test video stream$
obj.stream_type = VideoStream
priority = 100
- gnl_priority = 3 * 100 + 2 + obj._stagger
+ gnl_priority = 3 * 100 + 3 + obj._stagger
obj.priority = priority
self.failUnlessEqual(obj.priority, priority)
self.failUnlessEqual(gnl_object.props.priority, gnl_priority)
@@ -115,7 +115,7 @@ class TestTrackObject(TestCase):
# test audio stream
obj.stream_type = AudioStream
priority = 55
- gnl_priority = 4 * 55 + 2 + 2 * obj._stagger
+ gnl_priority = 4 * 55 + 3 + 2 * obj._stagger
obj.priority = priority
self.failUnlessEqual(obj.priority, priority)
self.failUnlessEqual(gnl_object.props.priority, gnl_priority)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]