2023-11-17 14:22:31,297 [ERROR] assert_step_report:364: Unable to update Step due to exception: list index out of range
Expected behaviour:
No error
Note:
This is caused by assertEqual used on dictionaries and some other types. Internally unit test then calls assertDictEqual and both methods are decorated. The stack looks different then so the step report does not find the correct assert call in the TestCase.
Preconditions:
pyksio 0.25.0 (or later?)
Steps to reproduce:
Execute the stepreport example in pykiso
Observed behaviour:
2023-11-17 14:22:31,297 [ERROR] assert_step_report:364: Unable to update Step due to exception: list index out of range
Expected behaviour:
No error
Note:
This is caused by assertEqual used on dictionaries and some other types. Internally unit test then calls assertDictEqual and both methods are decorated. The stack looks different then so the step report does not find the correct assert call in the TestCase.