gstreamer/testsuite/test_interface.py
Johan Dahlin fba1f21b1d testsuite/Makefile.am (check-local): distcheck fixes
Original commit message from CVS:
* testsuite/Makefile.am (check-local): distcheck fixes

* testsuite/common.py: Put in a couple of hacks to make distcheck
pass make check

* testsuite/interface.py: New test
2004-03-17 12:41:08 +00:00

20 lines
479 B
Python

from common import gst, unittest
try:
from gst import interfaces
except:
raise SystemExit
import gobject
class Availability(unittest.TestCase):
def testXOverlay(self):
assert hasattr(interfaces, 'XOverlay')
assert issubclass(interfaces.XOverlay, gobject.GInterface)
def testMixer(self):
assert hasattr(interfaces, 'Mixer')
assert issubclass(interfaces.Mixer, gobject.GInterface)
if __name__ == "__main__":
unittest.main()