lib: pass config objects to component init methods
[babeltrace.git] / tests / bindings / python / bt2 / test_event_class.py
index f2cf52cb47afba28e273bd73de3a975297ce1eb0..6a6eb4cb81308c55300ef07c828fe18bd17520f5 100644 (file)
@@ -50,7 +50,7 @@ def _create_const_event_class(tc, stream_class):
             return self._msgs.pop(0)
 
     class MySrc(bt2._UserSourceComponent, message_iterator_class=MyIter):
-        def __init__(self, params, obj):
+        def __init__(self, config, params, obj):
             self._add_output_port('out', params)
 
     graph = bt2.Graph()
This page took 0.024094 seconds and 4 git commands to generate.