MCPcopy Create free account
hub / github.com/GStreamer/gst-python / setUp

Method setUp

testsuite/old/test_event.py:31–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29
30class EventTest(TestCase):
31 def setUp(self):
32 TestCase.setUp(self)
33 self.pipeline = gst.parse_launch('fakesrc ! fakesink name=sink')
34 self.sink = self.pipeline.get_by_name('sink')
35 self.pipeline.set_state(gst.STATE_PLAYING)
36
37 def tearDown(self):
38 gst.debug('setting pipeline to NULL')

Callers 2

setUpMethod · 0.45
setUpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected