test_package.py: use list of public names instead of dedicated methods
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 3 Oct 2019 21:10:06 +0000 (17:10 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Oct 2019 18:14:29 +0000 (14:14 -0400)
commita18acfbc14279be7323dd3281aeb49082421aaea
tree4e3022941990f2507c7897fa7e22d862d7a78a66
parent684709ad0d1f7e7fe41409ed8dcb077bc4e8d766
test_package.py: use list of public names instead of dedicated methods

This patch changes `test_package.py` so that the public names to verify
are listed in the `_public_names` list. The code creates the
corresponding test methods.

This makes it less cumbersome to add public name tests in the future.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I0d370d4b5fd4564000e1e0f273d3b1b36a8acc43
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2125
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
tests/bindings/python/bt2/test_package.py
This page took 0.024623 seconds and 4 git commands to generate.