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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commit10a19b49e7f5db098afd319478f375f925d88f44
treebe5ac626f87d8ad042196134cc84b529437f9b25
parent78288f581343ec033cc38898777fe43a02380719
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.025789 seconds and 4 git commands to generate.