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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 13 Jun 2019 21:24:21 +0000 (17:24 -0400)
commit824ce8b67717c0384a85adcd4e556dbd3de2ce48
treeacc4b0584f4cff3d9899c3108ce2540fa9bba58b
parentbc5c9924b33eea71cfc4838dc11309c376efb464
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.028043 seconds and 4 git commands to generate.