mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Merge pull request #1850 from unaizalakain/ticket_13725
Fixed #13725 -- take url scheme into account in assertRedirects Thanks to Loic for review.
This commit is contained in:
@@ -469,6 +469,9 @@ Tests
|
||||
client can't fetch externals URLs, this allows you to use ``assertRedirects``
|
||||
with redirects that aren't part of your Django app.
|
||||
|
||||
* Correct handling of scheme when making comparisons in
|
||||
:meth:`~django.test.SimpleTestCase.assertRedirects`.
|
||||
|
||||
* The ``secure`` argument was added to all the request methods of
|
||||
:class:`~django.test.Client`. If ``True``, the request will be made
|
||||
through HTTPS.
|
||||
|
||||
Reference in New Issue
Block a user