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_message.py
diff --git
a/tests/bindings/python/bt2/test_message.py
b/tests/bindings/python/bt2/test_message.py
index 6000a0fa972404e3b0cd55c0f38a8ddfef680bf1..e58e52451d708648012ab2d514bbaf8a2d178eee 100644
(file)
--- a/
tests/bindings/python/bt2/test_message.py
+++ b/
tests/bindings/python/bt2/test_message.py
@@
-119,7
+119,7
@@
class AllMessagesTestCase(unittest.TestCase):
return msg
class MySrc(bt2._UserSourceComponent, message_iterator_class=MyIter):
return msg
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)
with_cc = bool(params['with_cc'])
self._add_output_port('out', params)
with_cc = bool(params['with_cc'])
This page took
0.02348 seconds
and
4
git commands to generate.