mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 11:20:12 -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.
9.4 KiB
9.4 KiB