black: run `black` version 19.10b0 on entire project
[babeltrace.git] / tests / data / plugins / flt.utils.muxer / bt_plugin_muxer_test.py
index 29aa065ace7b0d0d86e270eff0c97967457caa19..8c2c4560cf31cf98121218cc3503ab5fe4915a1f 100644 (file)
@@ -2,7 +2,7 @@ import bt2
 
 
 class TheIteratorOfConfusion(bt2._UserMessageIterator):
-    def __init__(self, port):
+    def __init__(self, config, port):
         self._at = 0
         test_name = port.user_data[0]
         TEST_CASES[test_name].create_msgs(self, port.user_data[1:])
@@ -19,7 +19,7 @@ class TheIteratorOfConfusion(bt2._UserMessageIterator):
 class TheSourceOfConfusion(
     bt2._UserSourceComponent, message_iterator_class=TheIteratorOfConfusion
 ):
-    def __init__(self, params, obj):
+    def __init__(self, config, params, obj):
         test_name = str(params['test-name'])
 
         TEST_CASES[test_name].source_setup(self, test_name)
@@ -421,7 +421,7 @@ class DiffInactivityMsgCs:
         src._add_output_port('out2', (test_name, cc2))
 
     def create_msgs(msg_iter, params):
-        cc, = params
+        (cc,) = params
         sb_msg = msg_iter._create_message_iterator_inactivity_message(cc, 0)
         msg_iter._msgs = [sb_msg]
 
This page took 0.024486 seconds and 4 git commands to generate.