gstreamer/bindings/python/testsuite/test_timeline_test_source.py
Thibault Saunier 1b036156af pyges: Install it so we now use import ges
Using from gst import ges did not make much sense
2011-08-11 15:59:33 +02:00

19 lines
508 B
Python

import glib
import gst
from common import TestCase
import ges
class TimelineTestSource(TestCase):
def testTimelineTestSource(self):
src = ges.TimelineTestSource()
tck_src = ges.TrackAudioTestSource()
src.set_mute(True)
src.set_vpattern("snow")
src.set_frequency(880)
src.set_volume (1)
assert (src.get_vpattern() != None)
assert (src.is_muted() == True)
assert (src.get_frequency() == 880)
assert (src.get_volume() == 1)