lib: remove unused _NO_SINK graph status
[babeltrace.git] / tests / bindings / python / bt2 / test_graph.py
index 1d37e22502e67e4e542b57a4fbea28184bd30e20..73788b48001f3b31dd2b3ce00171a7269fa2153e 100644 (file)
@@ -370,29 +370,6 @@ class GraphTestCase(unittest.TestCase):
         with self.assertRaises(bt2.TryAgain):
             self._graph.run()
 
-    def test_run_no_sink(self):
-        class MyIter(bt2._UserMessageIterator):
-            pass
-
-        class MySource(bt2._UserSourceComponent,
-                       message_iterator_class=MyIter):
-            def __init__(self, params):
-                self._add_output_port('out')
-
-        class MyFilter(bt2._UserFilterComponent,
-                       message_iterator_class=MyIter):
-            def __init__(self, params):
-                self._add_output_port('out')
-                self._add_input_port('in')
-
-        src = self._graph.add_component(MySource, 'src')
-        flt = self._graph.add_component(MyFilter, 'flt')
-        conn = self._graph.connect_ports(src.output_ports['out'],
-                                         flt.input_ports['in'])
-
-        with self.assertRaises(bt2.NoSinkComponent):
-            self._graph.run()
-
     def test_run_error(self):
         class MyIter(bt2._UserMessageIterator):
             def __init__(self):
This page took 0.023292 seconds and 4 git commands to generate.