pyges: Fix the timeline_file_source test suite

Can't create a GESTimelineFileSource if you don't have the protocol in the uri
This commit is contained in:
Thibault Saunier 2011-08-11 14:31:47 +02:00
parent 1b036156af
commit 672d491fc8

View file

@ -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")