eclipse / kiso-testing

https://kiso-testing.readthedocs.io/
Other
38 stars 43 forks source link

Step Report Bug #436

Closed Pog3k closed 9 months ago

Pog3k commented 9 months ago

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.