projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: pass config objects to component init methods
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_field.py
diff --git
a/tests/bindings/python/bt2/test_field.py
b/tests/bindings/python/bt2/test_field.py
index ecf0194c3b7d589b036a82bf364f17e26a9e8be8..6271b7706f52803b60a7d7e1ba45542c04431796 100644
(file)
--- a/
tests/bindings/python/bt2/test_field.py
+++ b/
tests/bindings/python/bt2/test_field.py
@@
-93,7
+93,7
@@
def _create_const_field(tc, field_class, field_value_setter_fn):
return self._msgs.pop(0)
class MySrc(bt2._UserSourceComponent, message_iterator_class=MyIter):
- def __init__(self, params, obj):
+ def __init__(self,
config,
params, obj):
self._add_output_port('out', params)
graph = bt2.Graph()
This page took
0.025264 seconds
and
4
git commands to generate.