Skip to content

Commit 58994dd

Browse files
committed
Handle logging.info at matter_testing_support.py
1 parent be3c70a commit 58994dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/python_testing/matter_testing_support.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1424,8 +1424,8 @@ def mark_current_step_skipped(self):
14241424
# TODO: I very much do not want to have people passing in strings here. Do we really need the expression
14251425
# as a string? Does it get used by the TH?
14261426
self.runner_hook.step_skipped(name=str(num), expression="")
1427-
else:
1428-
logging.info(f'**** Skipping: {num}')
1427+
1428+
logging.info(f'**** Skipping: {num}')
14291429
self.step_skipped = True
14301430

14311431
def skip_step(self, step):
@@ -1469,8 +1469,8 @@ def step(self, step: typing.Union[int, str]):
14691469
# TODO: it seems like the step start should take a number and a name
14701470
name = f'{step} : {steps[self.current_step_index].description}'
14711471
self.runner_hook.step_start(name=name)
1472-
else:
1473-
self.print_step(step, steps[self.current_step_index].description)
1472+
1473+
self.print_step(step, steps[self.current_step_index].description)
14741474

14751475
self.step_start_time = datetime.now(tz=timezone.utc)
14761476
self.current_step_index = self.current_step_index + 1

0 commit comments

Comments
 (0)