projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove output port message iterator
[babeltrace.git]
/
tests
/
bindings
/
python
/
bt2
/
test_event.py
diff --git
a/tests/bindings/python/bt2/test_event.py
b/tests/bindings/python/bt2/test_event.py
index ea65b5909dfcbd8095628486ff6b5075adaa19c9..b146f2615f7146f5444e60ab5780821b34cc92b7 100644
(file)
--- a/
tests/bindings/python/bt2/test_event.py
+++ b/
tests/bindings/python/bt2/test_event.py
@@
-19,6
+19,7
@@
from collections import OrderedDict
import unittest
import bt2
from collections import OrderedDict
import unittest
import bt2
+from utils import TestOutputPortMessageIterator
class EventTestCase(unittest.TestCase):
class EventTestCase(unittest.TestCase):
@@
-153,8
+154,8
@@
class EventTestCase(unittest.TestCase):
test_obj = self
self._graph = bt2.Graph()
self._src_comp = self._graph.add_component(MySrc, 'my_source')
test_obj = self
self._graph = bt2.Graph()
self._src_comp = self._graph.add_component(MySrc, 'my_source')
- self._msg_iter =
self._graph.create_output_port_message_i
terator(
- self._src_comp.output_ports['out']
+ self._msg_iter =
TestOutputPortMessageI
terator(
+ self._
graph, self._
src_comp.output_ports['out']
)
for msg in self._msg_iter:
)
for msg in self._msg_iter:
This page took
0.024315 seconds
and
4
git commands to generate.