diff --git a/src/python_testing/TC_OCC_2_1.py b/src/python_testing/TC_OCC_2_1.py index 6dd20cb6940f84..6e116d5ba13376 100644 --- a/src/python_testing/TC_OCC_2_1.py +++ b/src/python_testing/TC_OCC_2_1.py @@ -72,6 +72,7 @@ async def test_TC_OCC_2_1(self): asserts.assert_less_equal(occupancy_dut, 0b00000001, "Occupancy attribute is not in valid range") else: logging.info("Occupancy attribute is a mandatory attribute. Test step fails.") + asserts.fail("Missing mandatory attribute Occupancy") self.step(3) if attributes.OccupancySensorType.attribute_id in attribute_list: