Move to kernel style SPDX license identifiers
[babeltrace.git] / tests / data / auto-source-discovery / params-log-level / bt_plugin_test.py
index 336f49c2c904e1fef8007247984794e55530941f..4464cc6b1c8afbf9e56bb2ad7d3df8075d73ce4c 100644 (file)
@@ -1,3 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Copyright (C) 2019 EfficiOS Inc.
+#
+
 import bt2
 import os
 
@@ -12,7 +17,7 @@ import os
 
 
 class TestIter(bt2._UserMessageIterator):
-    def __init__(self, output_port):
+    def __init__(self, config, output_port):
         params = output_port.user_data['params']
         obj = output_port.user_data['obj']
 
@@ -57,7 +62,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 +85,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.023581 seconds and 4 git commands to generate.