X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=tests%2Fbindings%2Fpython%2Fbt2%2Ftest_error.py;h=ef2a41eae5ac5f79d99913f82a7db4a80010c334;hb=fbd8a4e0144aa7777bedcd8c05daec61d594634d;hp=f11cb2c2e92cf912d7ca5cd06a76136a06521514;hpb=1906e012b741e9fea75e778ffaecffbf79ecc0fc;p=babeltrace.git diff --git a/tests/bindings/python/bt2/test_error.py b/tests/bindings/python/bt2/test_error.py index f11cb2c2..ef2a41ea 100644 --- a/tests/bindings/python/bt2/test_error.py +++ b/tests/bindings/python/bt2/test_error.py @@ -45,7 +45,7 @@ class WorkingSink(bt2._UserSinkComponent): self._in = self._add_input_port('in') def _user_graph_is_configured(self): - self._iter = self._create_input_port_message_iterator(self._in) + self._iter = self._create_message_iterator(self._in) def _user_consume(self): next(self._iter) @@ -56,7 +56,7 @@ class SinkWithExceptionChaining(bt2._UserSinkComponent): self._in = self._add_input_port('in') def _user_graph_is_configured(self): - self._iter = self._create_input_port_message_iterator(self._in) + self._iter = self._create_message_iterator(self._in) def _user_consume(self): try: