mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-06 10:31:03 -04:00
When using `with pytest.raises...` any assertions inside the `with` statement that occur below the line that raises the exception don't get called. It's not possible to check the response status_code / location in this test because an exception is raised before the response is returned.