#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: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>): In [changeset:"17e661641ddaf8266e7430d83cfb2039abc55df7" 17e66164]: {{{ #!CommitTicketReference repository="" revision="17e661641ddaf8266e7430d83cfb2039abc55df7" Refs #26666 -- Added ALLOWED_HOSTS validation when running tests. Also used ALLOWED_HOSTS to check for external hosts in assertRedirects(). }}} -- Ticket URL: <https://code.djangoproject.com/ticket/26666#comment:10> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.67c5b3afbf05d93a3eced5ad9aaf7f56%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.