Skip to content

Commit

Permalink
Add the missing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca committed Jan 7, 2025
1 parent 00ba721 commit b9bf5a5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/python_testing/TC_DGSW_2_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,7 @@ async def read_dgsw_attribute_expect_success(self, endpoint, attribute):
async def send_reset_watermarks_command(self):
endpoint = 0
diags_cluster = Clusters.Objects.SoftwareDiagnostics

try:
response = await self.send_single_cmd(cmd=diags_cluster.Commands.ResetWatermarks(), endpoint=endpoint)
except InteractionModelError as e:
asserts.assert_equal(e.status, Status.Success, "Unexpected error returned")
pass

return response
return await self.send_single_cmd(cmd=diags_cluster.Commands.ResetWatermarks(), endpoint=endpoint)

def desc_TC_DGSW_2_3(self) -> str:
"""Returns a description of this test"""
Expand Down

0 comments on commit b9bf5a5

Please sign in to comment.