#26666: assertRedirects gives unhelpful error message expected URL is external
-------------------------------------+-------------------------------------
Reporter: inglesp | Owner:
Type: | tobiasmcnulty
Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by tobiasmcnulty):
* The original fix to this ticket
(https://github.com/django/django/pull/6696) broke unit testing of custom
hostnames in non-core Django projects when the hostname was passed as part
of the path to client.get()
* A new proposed change (https://github.com/django/django/pull/6713)
leverages ALLOWED_HOSTS to facilitate support for custom domain testing in
3rd party packages while increasing the rigor which with we validate
ALLOWED_HOSTS (now also in tests)
--
Ticket URL: <https://code.djangoproject.com/ticket/26666#comment:7>
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/065.563341b6a3ae35e02a7af6b82addade6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.