test_value.py: make `BoolValueTestCase` inherit `_TestNumericValue`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 29 Jun 2019 16:04:41 +0000 (12:04 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 3 Jul 2019 01:31:27 +0000 (21:31 -0400)
commit88be7fa478624859d8e94de937b7ea21a1bb45c2
treec622d38137ed51f3828f1199c2423e2e0404881a
parentad24a7ac5282522ce2676e399212d311926e956d
test_value.py: make `BoolValueTestCase` inherit `_TestNumericValue`

`BoolValue` is a numeric value, so `BoolValueTestCase` can inherit
`_TestNumericValue` and get more tests.

_inject_numeric_testing_methods() is also called on `BoolValueTestCase`
to test the different unary and binary operators.

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