mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
The helper function handles both tests that pass, and tests that are expected to fail (either by raising an exception or returning a redirect to the login page). By moving the handling of cases which are expected to fail out of the helper function we can make the helper function less complex, which will make further refactoring easier.