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

Method testRun

testsuite/old/test_pipeline.py:65–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 self.gcverify()
64
65 def testRun(self):
66 self.assertEqual(self.pipeline.get_state()[1], gst.STATE_NULL)
67 self.pipeline.set_state(gst.STATE_PLAYING)
68 self.assertEqual(self.pipeline.get_state()[1], gst.STATE_PLAYING)
69
70 time.sleep(1)
71
72 self.assertEqual(self.pipeline.get_state()[1], gst.STATE_PLAYING)
73 self.pipeline.set_state(gst.STATE_NULL)
74 self.assertEqual(self.pipeline.get_state()[1], gst.STATE_NULL)
75
76class PipelineTags(TestCase):
77 def setUp(self):

Callers

nothing calls this directly

Calls 1

get_stateMethod · 0.45

Tested by

no test coverage detected