Skip to content

Commit

Permalink
Fix small typo (#36005)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored Oct 10, 2024
1 parent 35fcc33 commit 86c1c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_testing/TC_ECOINFO_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main
from mobly import asserts

_DEVICE_TYPE_AGGREGGATOR = 0x000E
_DEVICE_TYPE_AGGREGATOR = 0x000E


class TC_ECOINFO_2_2(MatterBaseTest):
Expand Down Expand Up @@ -149,7 +149,7 @@ async def test_TC_ECOINFO_2_2(self):
device_type_list_read = await dev_ctrl.ReadAttribute(dut_node_id, [(endpoint, Clusters.Descriptor.Attributes.DeviceTypeList)])
device_type_list = device_type_list_read[endpoint][Clusters.Descriptor][Clusters.Descriptor.Attributes.DeviceTypeList]
for device_type in device_type_list:
if device_type.deviceType == _DEVICE_TYPE_AGGREGGATOR:
if device_type.deviceType == _DEVICE_TYPE_AGGREGATOR:
list_of_aggregator_endpoints.append(endpoint)

asserts.assert_greater_equal(len(list_of_aggregator_endpoints), 1, "Did not find any Aggregator device types")
Expand Down

0 comments on commit 86c1c71

Please sign in to comment.