lib: pass config objects to component init methods
[babeltrace.git] / tests / bindings / python / bt2 / test_event.py
index 9c71c0204e182f0ca8c711d8d9810f7a5e5539ca..b6b17ade0c3a7c6c17a801bcbda6b89af73d8553 100644 (file)
@@ -81,7 +81,7 @@ class EventTestCase(unittest.TestCase):
                 return msg
 
         class MySrc(bt2._UserSourceComponent, message_iterator_class=MyIter):
-            def __init__(self, params, obj):
+            def __init__(self, config, params, obj):
                 self._add_output_port('out')
                 tc = self._create_trace_class()
 
This page took 0.036583 seconds and 4 git commands to generate.