Fix some python script files methods name in order to follow expected template (#31630)
* Fix test case misspelling
* Fixed test case methods name in order to follow the expected template
diff --git a/src/python_testing/TC_DGGEN_2_4.py b/src/python_testing/TC_DGGEN_2_4.py
index 4199db9..ed5ffc8 100644
--- a/src/python_testing/TC_DGGEN_2_4.py
+++ b/src/python_testing/TC_DGGEN_2_4.py
@@ -65,7 +65,7 @@
return response
@async_test_body
- async def test_TC_GEN_2_4(self):
+ async def test_TC_DGGEN_2_4(self):
self.print_step("1a", "Detect Time Synchronization UTCTime attribute presence")
root_descriptor = await self.default_controller.ReadAttribute(self.dut_node_id, [(0, Clusters.Descriptor)])
root_server_list = root_descriptor[0][Clusters.Descriptor][Clusters.Descriptor.Attributes.ServerList]
diff --git a/src/python_testing/TC_DeviceBasicComposition.py b/src/python_testing/TC_DeviceBasicComposition.py
index 30a4353..446907f 100644
--- a/src/python_testing/TC_DeviceBasicComposition.py
+++ b/src/python_testing/TC_DeviceBasicComposition.py
@@ -150,7 +150,7 @@
problem=f'Root node does not contain required cluster {c}', spec_location="Root node device type")
self.fail_current_test()
- def test_DT_1_1(self):
+ def test_TC_DT_1_1(self):
self.print_step(1, "Perform a wildcard read of attributes on all endpoints - already done")
self.print_step(2, "Verify that each endpoint includes a descriptor cluster")
success = True
@@ -165,7 +165,7 @@
if not success:
self.fail_current_test("At least one endpoint was missing the descriptor cluster.")
- def test_IDM_10_1(self):
+ def test_TC_IDM_10_1(self):
self.print_step(1, "Perform a wildcard read of attributes on all endpoints - already done")
@dataclass
@@ -464,7 +464,7 @@
self.fail_current_test(
"At least one cluster has failed the range and support checks for its listed attributes, commands or features")
- def test_IDM_11_1(self):
+ def test_TC_IDM_11_1(self):
success = True
for endpoint_id, endpoint in self.endpoints_tlv.items():
for cluster_id, cluster in endpoint.items():
@@ -671,7 +671,7 @@
if not success:
self.fail_current_test("power source EndpointList attribute is incorrect")
- def test_DESC_2_2(self):
+ def test_TC_DESC_2_2(self):
self.print_step(0, "Wildcard read of device - already done")
self.print_step(