Skip to content

Commit

Permalink
Fix some python script files methods name in order to follow expected…
Browse files Browse the repository at this point in the history
… template (#31630)

* Fix test case misspelling

* Fixed test case methods name in order to follow the expected template
  • Loading branch information
rquidute authored and pull[bot] committed May 17, 2024
1 parent 193f90f commit 1495408
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/python_testing/TC_DGGEN_2_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def send_time_snapshot_expect_success(self):
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]
Expand Down
8 changes: 4 additions & 4 deletions src/python_testing/TC_DeviceBasicComposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_TC_SM_1_1(self):
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
Expand All @@ -165,7 +165,7 @@ def test_DT_1_1(self):
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
Expand Down Expand Up @@ -464,7 +464,7 @@ class RequiredMandatoryAttribute:
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():
Expand Down Expand Up @@ -671,7 +671,7 @@ def GetPartValidityProblem(endpoint):
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(
Expand Down

0 comments on commit 1495408

Please sign in to comment.