mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
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:
parent
1b036156af
commit
672d491fc8
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue