Skip to content

Commit 56d2a50

Browse files
committed
Fixed: Renamed CLUSTER to cluster_demm_mode for clarity.
1 parent 3738da4 commit 56d2a50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/python_testing/TC_DEMM_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.DeviceEnergyManagementMode
43+
cluster_demm_mode = Clusters.DeviceEnergyManagementMode
4444

4545

4646
class TC_DEMM_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_demm_mode)
5252

5353
def desc_TC_DEMM_1_2(self) -> str:
5454
return "[TC-DEMM-1.2] Cluster attributes with DUT as Server"
@@ -81,8 +81,8 @@ async def test_TC_DEMM_1_2(self):
8181
# According to the spec, there should be at least on like
8282
# No Optimization, Device Optimization, Local Optimization, or Grid Optimization
8383
# tag in the ones supported.
84-
additional_tags = [CLUSTER.Enums.ModeTag.kNoOptimization,
85-
CLUSTER.Enums.ModeTag.kDeviceOptimization]
84+
additional_tags = [cluster_demm_mode.Enums.ModeTag.kNoOptimization,
85+
cluster_demm_mode.Enums.ModeTag.kDeviceOptimization]
8686
self.check_tags_in_lists(supported_modes=supported_modes, required_tags=additional_tags)
8787

8888
self.step(3)

0 commit comments

Comments
 (0)