Convert pytests to use correct exception assertion handling

Merge request reports

Loading