Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dc787d7

Browse files
committedMay 28, 2024·
TC-RVCRUNM-2.2: make error more verbose
1 parent 533df0c commit dc787d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/python_testing/TC_RVCRUNM_2_2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ async def test_TC_RVCRUNM_2_2(self):
154154

155155
if self.mode_a not in self.supported_run_modes_dut or \
156156
self.mode_b not in self.supported_run_modes_dut:
157-
asserts.fail("PIXIT.RVCRUNM.MODE_A and PIXIT.RVCRUNM.MODE_B must be valid supported modes.")
157+
asserts.fail(f"PIXIT.RVCRUNM.MODE_A and PIXIT.RVCRUNM.MODE_B must be valid supported modes. Valid modes: {self.supported_run_modes_dut}")
158158

159159
for tag in self.supported_run_modes[self.mode_a].modeTags:
160160
if tag.value == Clusters.RvcRunMode.Enums.ModeTag.kIdle:

0 commit comments

Comments
 (0)
Please sign in to comment.