[0.11] gst-editing-services: pyges: Fix the timeline_file_source test suite
Edward Hervey
bilboed at kemper.freedesktop.org
Tue Oct 11 01:12:31 PDT 2011
Module: gst-editing-services
Branch: 0.11
Commit: 672d491fc88683531e12e5576e10bc5e7d9a71bd
URL: http://cgit.freedesktop.org/gstreamer/gst-editing-services/commit/?id=672d491fc88683531e12e5576e10bc5e7d9a71bd
Author: Thibault Saunier <thibault.saunier at collabora.com>
Date: Thu Aug 11 14:31:47 2011 +0200
pyges: Fix the timeline_file_source test suite
Can't create a GESTimelineFileSource if you don't have the protocol in the uri
---
.../python/testsuite/test_timeline_file_source.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/python/testsuite/test_timeline_file_source.py b/bindings/python/testsuite/test_timeline_file_source.py
index df84656..279c2d6 100644
--- a/bindings/python/testsuite/test_timeline_file_source.py
+++ b/bindings/python/testsuite/test_timeline_file_source.py
@@ -6,7 +6,7 @@ import ges
class TimelineFileSource(TestCase):
def testTimelineFileSource(self):
- src = ges.TimelineFileSource("blahblahblah")
+ src = ges.TimelineFileSource("file://blahblahblah")
src.set_mute(True)
src.set_max_duration(long(100))
@@ -15,4 +15,4 @@ class TimelineFileSource(TestCase):
src.set_is_image(True)
assert (src.get_max_duration() == 100)
assert (src.is_image() == True)
- assert (src.get_uri() == "blahblahblah")
+ assert (src.get_uri() == "file://blahblahblah")
More information about the gstreamer-commits
mailing list