bt2: Adapt test_connection.py and make it pass
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 31 May 2019 15:24:29 +0000 (11:24 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 5 Jun 2019 17:47:34 +0000 (13:47 -0400)
commit2c67587ab59a15b012008ca38cc13fb77f0eb776
tree23945f96694fbe39208615b43a01941d7df6eed4
parent894a8df566ca63e6b53c831d245569d8598c5889
bt2: Adapt test_connection.py and make it pass

The test_connection test is adapted to account for:

 - Connections can't be in an ended state anymore.
 - We don't need to define equality between connections.
 - Private connections don't exist anymore.

The bindings are also simplified by the fact that private connections
don't exist anymore, and connections can't end.  Otherwise, changes are
straightforward to adapt to the existing API.

Change-Id: I52cb89512df1e8cb0cd88670c6d63e68287556c3
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1280
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins
bindings/python/bt2/bt2/component.py
bindings/python/bt2/bt2/connection.py
bindings/python/bt2/bt2/port.py
tests/bindings/python/bt2/test_connection.py
This page took 0.024644 seconds and 4 git commands to generate.