lib: pass config objects to component init methods
[babeltrace.git] / tests / data / auto-source-discovery / params-log-level / bt_plugin_test.py
index 336f49c2c904e1fef8007247984794e55530941f..c39db50ffb95c9a40a65cd54190a60392dd62386 100644 (file)
@@ -57,7 +57,7 @@ class Base:
 
 @bt2.plugin_component_class
 class TestSourceA(Base, bt2._UserSourceComponent, message_iterator_class=TestIter):
-    def __init__(self, params, obj):
+    def __init__(self, config, params, obj):
         super().__init__(params, obj)
 
     @staticmethod
@@ -80,7 +80,7 @@ class TestSourceA(Base, bt2._UserSourceComponent, message_iterator_class=TestIte
 
 @bt2.plugin_component_class
 class TestSourceB(Base, bt2._UserSourceComponent, message_iterator_class=TestIter):
-    def __init__(self, params, obj):
+    def __init__(self, config, params, obj):
         super().__init__(params, obj)
 
     @staticmethod
This page took 0.026531 seconds and 4 git commands to generate.