tests: broken assertion errors after pytest changes
3 - minor
Pull request ID:
pytest has changed its exception handling on pytest.raises to require error.value instead of str(error) for comparison.
All tests need to be updated for this