Skip to content

Commit 9e39151

Browse files
committed
Fixed: Renamed CLUSTER to cluster_eevsem_mode for clarity.
1 parent fa7bf1e commit 9e39151

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/python_testing/TC_EEVSEM_1_2.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
from chip.testing.matter_testing import MatterBaseTest, TestStep, async_test_body, default_matter_test_main
4141
from modebase_cluster_check import ModeBaseClusterChecks
4242

43-
CLUSTER = Clusters.EnergyEvseMode
43+
cluster_eevsem_mode = Clusters.EnergyEvseMode
4444

4545

4646
class TC_EEVSEM_1_2(MatterBaseTest, ModeBaseClusterChecks):
4747

4848
def __init__(self, *args):
4949
MatterBaseTest.__init__(self, *args)
5050
ModeBaseClusterChecks.__init__(self,
51-
modebase_derived_cluster=CLUSTER)
51+
modebase_derived_cluster=cluster_eevsem_mode)
5252

5353
def desc_TC_EEVSEM_1_2(self) -> str:
5454
return "[TC-EEVSEM-1.2] Cluster attributes with DUT as Server"
@@ -81,8 +81,8 @@ async def test_TC_EEVSEM_1_2(self):
8181

8282
# According to the spec, there should be at least one Manual or Time of Use
8383
# tag in the ones supported.
84-
additional_tags = [CLUSTER.Enums.ModeTag.kManual,
85-
CLUSTER.Enums.ModeTag.kTimeOfUse]
84+
additional_tags = [cluster_eevsem_mode.Enums.ModeTag.kManual,
85+
cluster_eevsem_mode.Enums.ModeTag.kTimeOfUse]
8686
self.check_tags_in_lists(supported_modes=supported_modes, required_tags=additional_tags)
8787

8888
self.step(3)

0 commit comments

Comments
 (0)