Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: remove duplicate redirect assertions
`assertRedirects` verifies the status code as well as the redirect URL. Therefore, prefer `assertRedirects` over `assert response.status_code == 302` or `assert response.url == next_url`.
- Loading branch information