[CI] fix error reporting in pytest html reports
- Related issues: #1541 (closed)
- Requested reviewers: @norvell
Reason why this change is needed
- Crashes in testcases were not reported as ERROR
Description of the change
- Fix the pytest configuration
Affected operating points
- Nothing, just test code