lib: pass config object to message iterator init method, add can seek forward property
[babeltrace.git] / tests / bindings / python / bt2 / test_field.py
index 6271b7706f52803b60a7d7e1ba45542c04431796..47755f2ffdba8d98e9059ba675cb9bde70a50a71 100644 (file)
@@ -73,7 +73,7 @@ def _create_const_field(tc, field_class, field_value_setter_fn):
     field_name = 'const field'
 
     class MyIter(bt2._UserMessageIterator):
-        def __init__(self, self_port_output):
+        def __init__(self, config, self_port_output):
             nonlocal field_class
             nonlocal field_value_setter_fn
             stream = _create_stream(tc, [(field_name, field_class)])
This page took 0.023327 seconds and 4 git commands to generate.