#27398: AssertRedirects expects ordered query parameters
-----------------------------------+--------------------
Reporter: Cédric Codet | Owner: nobody
Type: Uncategorized | Status: new
Component: Testing framework | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------
When checking for a url redirection in tests with `assertRedirects`, the
order of redirection url query parameters matters (since it is matched
with `expected_url` string argument).
Example: if the expected url is `example.com/?foo=1&bar=2`,
`example.com/?bar=2&foo=1` is not matched (while
`example.com/?foo=1&bar=2` is)
This is an issue since Django does not enforce query parameters ordering
itself
--
Ticket URL: <https://code.djangoproject.com/ticket/27398>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.4d277286f9beea5157b4769fa6e8ef77%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.