bt2: update value.py, make test_value pass
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 26 Apr 2019 19:41:24 +0000 (15:41 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:40 +0000 (18:19 -0400)
commit77b70d39c780fd11de8ea650cb30defd92516b4f
tree70553309d2cc304b4c95f678ac703804a26c76b7
parentc3044a97dcd57f371c42199aa8a00e508e18dbbe
bt2: update value.py, make test_value pass

This patch updates value.py to match the current API.

The only known thing missing (to be done later) is to split classes in
their const and non-const variants (e.g. BoolValue and BoolValueConst),
where the methods that can modify values are only present on the
non-const versions.

The test is largely unchanged, except for the removal of things related
to frozen values.

Change-Id: I6424b0e6208ffe2cbe5e60fdd08579326abff29a
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1022
Tested-by: jenkins
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
bindings/python/bt2/bt2/value.py
tests/bindings/python/bt2/test_value.py
This page took 0.024546 seconds and 4 git commands to generate.