From 14151266d0441be4d354ddc935160fdc3b07f554 Mon Sep 17 00:00:00 2001 From: C Freeman Date: Tue, 27 Aug 2024 02:43:05 -0400 Subject: [PATCH] TC-LVL-2.3: Update expected number of reports (#35179) please see https://github.com/CHIP-Specifications/chip-test-plans/pull/4456#discussion_r1715722836 --- src/python_testing/TC_LVL_2_3.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python_testing/TC_LVL_2_3.py b/src/python_testing/TC_LVL_2_3.py index f3fac953b4d715..d45c459f1352d3 100644 --- a/src/python_testing/TC_LVL_2_3.py +++ b/src/python_testing/TC_LVL_2_3.py @@ -57,8 +57,8 @@ def steps_TC_LVL_2_3(self) -> list[TestStep]: TestStep(7, f"{THcommand} MoveToLevelWithOnOff with Level field set to maxLevel, TransitionTime field set to 100 (10s) and remaining fields set to 0", test_plan_support.verify_success()), TestStep(8, "TH stores the reported values of CurrentLevel in all incoming reports for CurrentLevel attribute, that contains data in reportedCurrentLevelValuesList, over a period of 30 seconds."), - TestStep(9, "TH verifies that reportedCurrentLevelValuesList does not contain more than 10 entries for CurrentLevel", - "reportedCurrentLevelValuesList has 10 or less entries in the list"), + TestStep(9, "TH verifies that reportedCurrentLevelValuesList does not contain more than 12 entries for CurrentLevel", + "reportedCurrentLevelValuesList has 12 or fewer entries in the list"), TestStep(10, "If reportedCurrentLevelValuesList only contain a single entry, TH verifies the value of the entry is equal to maxLevel", "The entry in reportedCurrentLevelValuesList is equal to maxLevel"), TestStep(11, "If reportedCurrentLevelValuesList contains two or more entries, TH verifies the value of the first entry is larger than startCurrentLevel", @@ -133,7 +133,7 @@ async def test_TC_LVL_2_3(self): self.step(9) count = sub_handler.attribute_report_counts[lvl.Attributes.CurrentLevel] - asserts.assert_less_equal(count, 10, "Received more than 10 reports for CurrentLevel") + asserts.assert_less_equal(count, 12, "Received more than 12 reports for CurrentLevel") asserts.assert_greater(count, 0, "Did not receive any reports for CurrentLevel") self.step(10)