mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
21 lines
479 B
Python
21 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()
|