You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: add regression coverage for boolean true encoding in yaml to_tree paths
Add TestYAMLBooleanFalseEncoding class with four tests:
- test_bool_true_produces_empty_string_list: bool_as_int=False, True -> empty flag
- test_bool_false_skips_property: bool_as_int=False, False -> property absent
- test_bool_true_with_bool_as_int_produces_empty: bool_as_int=True, True -> empty flag
- test_reserved_memory_ranges_true_no_existing_node_resolves_as_flag:
regression for the serialize_json path where a fresh /reserved-memory node
with 'ranges: true' must resolve to 'ranges;' not 'ranges = <0x1>;'
Also update two pre-existing assertions from == [''] to in ([], [''])
to match the actual [] value produced by the fixed serialize_json path.
Signed-off-by: Bruce Ashfield <bruce.ashfield@amd.com>
0 commit comments