lib: pass config objects to component init methods
[babeltrace.git] / tests / bindings / python / bt2 / test_clock_class.py
index b9d25e54b0f970e1edb10172c6ffd8b0b73d6c53..26571bd40bd06b470ee186c4ec79c5cd3d4e116c 100644 (file)
@@ -266,7 +266,7 @@ class ClockSnapshotTestCase(unittest.TestCase):
                 return notif
 
         class MySrc(bt2._UserSourceComponent, message_iterator_class=MyIter):
-            def __init__(self, params, obj):
+            def __init__(self, config, params, obj):
                 self._add_output_port('out')
 
         self._graph = bt2.Graph()
This page took 0.023148 seconds and 4 git commands to generate.