Skip to content

Commit f5fad3d

Browse files
TC-RVCRUNM-2.2: make error more verbose (#33643)
* TC-RVCRUNM-2.2: make error more verbose * Restyled by autopep8 * more verboser --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent b790232 commit f5fad3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/python_testing/TC_RVCRUNM_2_2.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ 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(
158+
f"PIXIT.RVCRUNM.MODE_A and PIXIT.RVCRUNM.MODE_B must be valid supported modes. Valid modes: {self.supported_run_modes_dut}, MODE_A: {self.mode_a}, MODE_B: {self.mode_b}")
158159

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

0 commit comments

Comments
 (0)