MCPcopy Index your code
hub / github.com/GStreamer/gst-python / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

147 # adds an event probe to catch the (first) new-segment
148 # adds a buffer probe to "autoplug" and send out this event
149 def setUp(self):
150 TestCase.setUp(self)
151 self.pipeline = gst.Pipeline()
152 self.src = gst.element_factory_make('fakesrc')
153 self.src.set_property('num-buffers', 10)
154 self.pipeline.add(self.src)
155 self.srcpad = self.src.get_pad('src')
156
157 def tearDown(self):
158 gst.debug('setting pipeline to NULL')

Callers

nothing calls this directly

Calls 3

set_propertyMethod · 0.80
addMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected