Skip to content

Commit

Permalink
[hotfix] Fix merge error in matter_testing_support.py (#27293)
Browse files Browse the repository at this point in the history
- Silent stacktraces were red herrings because step printing got
  broken by a bad merge.

Issue #27287

Co-authored-by: tennessee.carmelveilleux@gmail.com <tennessee@google.com>
  • Loading branch information
2 people authored and pull[bot] committed Dec 22, 2023
1 parent ad56ffc commit 699ffe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_testing/matter_testing_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ async def send_single_cmd(
result = await dev_ctrl.SendCommand(nodeid=node_id, endpoint=endpoint, payload=cmd, timedRequestTimeoutMs=timedRequestTimeoutMs)
return result

def print_step(self, stepnum: int, title: str) -> None:
logging.info('***** Test Step %d : %s', stepnum, title)
def print_step(self, stepnum: typing.Union[int, str], title: str) -> None:
logging.info(f'***** Test Step {stepnum} : {title}')

def record_error(self, test_name: str, location: Union[AttributePathLocation, EventPathLocation, CommandPathLocation], problem: str, spec_location: str = ""):
self.problems.append(ProblemNotice(test_name, location, ProblemSeverity.ERROR, problem, spec_location))
Expand Down

0 comments on commit 699ffe1

Please sign in to comment.