tests: assign to `value` property in test_assign_str/test_assign_vstr
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 27 Nov 2023 20:17:43 +0000 (15:17 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Sat, 19 Oct 2024 11:12:09 +0000 (07:12 -0400)
commit7ee3b9844b5b6b2cfbc468f1025d1fb315ed3cf8
tree7e0dcb3f4a70c509de6d5be8f172f316bb194afd
parentba49ae6bb3646e7b257abbb85067a27885ad21a3
tests: assign to `value` property in test_assign_str/test_assign_vstr

These tests don't do what was initially intended.  The intent is to
assign a string to the value in `self._def`.  Instead, they overwrite
`self._def`.  Fix that by assigning to the `value` property.

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