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_class.py
diff --git
a/tests/bindings/python/bt2/test_field_class.py
b/tests/bindings/python/bt2/test_field_class.py
index 1d883eea061aa78654c1cd84440cf63bf70afee9..3a383fddd7ff911c92035562754b3e98f7005013 100644
(file)
--- a/
tests/bindings/python/bt2/test_field_class.py
+++ b/
tests/bindings/python/bt2/test_field_class.py
@@
-61,7
+61,7
@@
def _create_const_field_class(tc, field_class, 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.023529 seconds
and
4
git commands to generate.