|
40 | 40 | from chip.testing.matter_testing import MatterBaseTest, TestStep, async_test_body, default_matter_test_main
|
41 | 41 | from modebase_cluster_check import ModeBaseClusterChecks
|
42 | 42 |
|
43 |
| -CLUSTER = Clusters.EnergyEvseMode |
| 43 | +cluster_eevsem_mode = Clusters.EnergyEvseMode |
44 | 44 |
|
45 | 45 |
|
46 | 46 | class TC_EEVSEM_1_2(MatterBaseTest, ModeBaseClusterChecks):
|
47 | 47 |
|
48 | 48 | def __init__(self, *args):
|
49 | 49 | MatterBaseTest.__init__(self, *args)
|
50 | 50 | ModeBaseClusterChecks.__init__(self,
|
51 |
| - modebase_derived_cluster=CLUSTER) |
| 51 | + modebase_derived_cluster=cluster_eevsem_mode) |
52 | 52 |
|
53 | 53 | def desc_TC_EEVSEM_1_2(self) -> str:
|
54 | 54 | return "[TC-EEVSEM-1.2] Cluster attributes with DUT as Server"
|
@@ -81,8 +81,8 @@ async def test_TC_EEVSEM_1_2(self):
|
81 | 81 |
|
82 | 82 | # According to the spec, there should be at least one Manual or Time of Use
|
83 | 83 | # 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] |
86 | 86 | self.check_tags_in_lists(supported_modes=supported_modes, required_tags=additional_tags)
|
87 | 87 |
|
88 | 88 | self.step(3)
|
|
0 commit comments