[django/django] 9c5f6c: Fixed #13725 -- take url scheme into account in as...

3 views
Skip to first unread message

GitHub

unread,
Nov 7, 2013, 5:30:06 PM11/7/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 9c5f6cd565f1bc519dec20e3e44313cb8d8e0e94
https://github.com/django/django/commit/9c5f6cd565f1bc519dec20e3e44313cb8d8e0e94
Author: Unai Zalakain <un...@gisa-elkartea.org>
Date: 2013-11-07 (Thu, 07 Nov 2013)

Changed paths:
M django/test/testcases.py
M docs/releases/1.7.txt
M docs/topics/testing/overview.txt
M tests/test_client_regress/tests.py

Log Message:
-----------
Fixed #13725 -- take url scheme into account in assertRedirects

Scheme is handled correctly when making comparisons between two URLs. If
there isn't any scheme specified in the location where we are redirected to,
the original request's scheme is used. If present, the scheme in
``expected_url`` is the one used to make the comparations to.


Commit: 30203a0deaf82c8af26b1b5453851f83d2248b67
https://github.com/django/django/commit/30203a0deaf82c8af26b1b5453851f83d2248b67
Author: Anssi Kääriäinen <akaa...@gmail.com>
Date: 2013-11-07 (Thu, 07 Nov 2013)

Changed paths:
M django/test/testcases.py
M docs/releases/1.7.txt
M docs/topics/testing/overview.txt
M tests/test_client_regress/tests.py

Log Message:
-----------
Merge pull request #1850 from unaizalakain/ticket_13725

Fixed #13725 -- take url scheme into account in assertRedirects

Thanks to Loic for review.


Compare: https://github.com/django/django/compare/c29dd76f4018...30203a0deaf8
Reply all
Reply to author
Forward
0 new messages