Files
whipper-gui/morituri/test/test_common_gstreamer.py
Thomas Vander Stichele 0a0aadfc30 * morituri/test/test_common_gstreamer.py (added):
* morituri/common/gstreamer.py:
	* morituri/test/Makefile.am:
	  add functions to get versions of gstreamer, gst-python,
	  and element factory plugins.
2012-12-02 21:56:19 +00:00

22 lines
558 B
Python

# -*- Mode: Python -*-
# vi:si:et:sw=4:sts=4:ts=4
from morituri.common import gstreamer
from morituri.test import common
class VersionTestCase(common.TestCase):
def testGStreamer(self):
version = gstreamer.gstreamerVersion()
self.failUnless(version.startswith('0.'))
def testGSTPython(self):
version = gstreamer.gstPythonVersion()
self.failUnless(version.startswith('0.'))
def testFlacEnc(self):
version = gstreamer.elementFactoryVersion('flacenc')
self.failUnless(version.startswith('0.'))