Improve assert messages in pytests

Tom Krizek requested to merge 4452-pytest-improve-assert-messages into main

Ensure that all assert statements in pytests produce a meaningful message in case they fail. Closes #4452 (closed)

Merge request reports