Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
asirko-soft committed Jan 10, 2025
1 parent e60d58a commit 138f1e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/python_testing/TC_FLABEL_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
# --commissioning-method on-network
# --discriminator 1234
# --passcode 20202021
# --endpoint 1
# --trace-to json:${TRACE_TEST_JSON}.json
# --trace-to perfetto:${TRACE_TEST_PERFETTO}.perfetto
# factory-reset: true
Expand All @@ -33,7 +34,8 @@

import chip.clusters as Clusters
from chip.interaction_model import Status
from chip.testing.matter_testing import MatterBaseTest, TestStep, run_if_endpoint_matches, has_attribute, has_cluster, default_matter_test_main
from chip.testing.matter_testing import (MatterBaseTest, TestStep, default_matter_test_main, has_attribute, has_cluster,
run_if_endpoint_matches)
from mobly import asserts


Expand All @@ -49,7 +51,7 @@ def steps_TC_FLABEL_2_1(self) -> list[TestStep]:
TestStep(4, "Verify LabelList hasn't changed", "LabelList matches initial read")
]

@run_if_endpoint_matches(has_attribute(Clusters.FixedLabel.Attributes.LabelList) and has_cluster(Clusters.FixedLabel))
@run_if_endpoint_matches(has_attribute(Clusters.FixedLabel.Attributes.LabelList))
async def test_TC_FLABEL_2_1(self):
# Step 1: Commission DUT (already done)
self.step(1)
Expand Down

0 comments on commit 138f1e6

Please sign in to comment.