Skip to content

Commit

Permalink
[VALCC] Fixed assert_less_equal to match test plan and spec in VALCC-…
Browse files Browse the repository at this point in the history
…2.1 (#34411)
  • Loading branch information
ReneJosefsen authored and pull[bot] committed Nov 22, 2024
1 parent f375ab7 commit 1130828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_testing/TC_VALCC_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ async def test_TC_VALCC_2_1(self):
if attributes.ValveFault.attribute_id in attribute_list:
valve_fault_dut = await self.read_valcc_attribute_expect_success(endpoint=endpoint, attribute=attributes.ValveFault)

asserts.assert_less_equal(valve_fault_dut, 0b00000111, "ValveFault is not in valid range")
asserts.assert_less_equal(valve_fault_dut, 0b00111111, "ValveFault is not in valid range")
else:
logging.info("Test step skipped")

Expand Down

0 comments on commit 1130828

Please sign in to comment.