mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-14 07:24:22 -05:00
When we do a `POST` we almost always do a redirect straight afterwards. `client_request` understands this, and expects a `302` by default. However, if the `_follow_redirects` flag is set the status code returned is that of the subsequent request – normally a `GET`, itself returning `200`. Therefore the default expected response code would need to be overridden. Overriding this repeatedly would get pretty boring. Better to do it once inside the fixture.