Tim Graham
|
043bd70942
|
Updated test URL patterns to use path() and re_path().
|
2018-12-31 10:47:32 -05:00 |
|
Simon Charette
|
0f212db29d
|
Made reused RequestFactory instances class attributes.
|
2018-11-27 09:49:02 -05:00 |
|
Alex Gaynor
|
9a56b4b13e
|
Fixed #27863 -- Added support for the SameSite cookie flag.
Thanks Alex Gaynor for contributing to the patch.
|
2018-04-13 20:58:31 -04:00 |
|
Mariusz Felisiak
|
9bcf73d788
|
Fixed imports per isort 4.3.0.
|
2018-02-01 09:29:46 +01:00 |
|
Дилян Палаузов
|
a38ae914d8
|
Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements.
|
2018-01-12 12:44:50 -05:00 |
|
Alexey
|
0afffae4ec
|
Fixed #28965 -- Updated Set-Cookie's Expires date format to follow RFC 7231.
|
2018-01-02 11:22:59 -05:00 |
|
Nick Pope
|
81abece192
|
Corrected type of MESSAGE_TAGS setting override in tests.
|
2017-12-08 13:18:31 -05:00 |
|
Jon Dufresne
|
21046e7773
|
Fixed #28249 -- Removed unnecessary dict.keys() calls.
iter(dict) is equivalent to iter(dict.keys()).
|
2017-05-27 19:08:46 -04:00 |
|
Claude Paroz
|
d1e5516c06
|
Complemented message storage test with explicit None extra_tags value
|
2017-05-10 22:38:46 +02:00 |
|
Asif Saifuddin Auvi
|
5f3a689f71
|
Imported django.http classes instead of django.http.
|
2017-02-27 14:47:11 -05:00 |
|
Claude Paroz
|
c651331b34
|
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
|
2017-02-07 09:04:04 +01:00 |
|
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
|
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
|
Raffaele Salmaso
|
ed8c0c941d
|
Fixed #27688 -- Made messages' add_message() request check use ducktyping.
|
2017-01-09 18:03:10 -05:00 |
|
Tim Graham
|
0793182694
|
Cosmetic edits for messages_tests.
|
2017-01-05 09:31:23 -05:00 |
|
za
|
321e94fa41
|
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
|
2016-11-10 21:30:21 -05:00 |
|
Jon Dufresne
|
4f336f6652
|
Fixed #26747 -- Used more specific assertions in the Django test suite.
|
2016-06-16 14:19:18 -04:00 |
|
Florian Apolloner
|
9baf692a58
|
Fixed #26601 -- Improved middleware per DEP 0005.
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
|
2016-05-17 07:22:22 -04:00 |
|
Tim Graham
|
92053acbb9
|
Fixed E128 flake8 warnings in tests/.
|
2016-04-08 10:12:33 -04:00 |
|
Hasan
|
3d0dcd7f5a
|
Refs #26022 -- Used context manager version of assertRaises in tests.
|
2016-01-29 12:32:18 -05:00 |
|
Marten Kenbeek
|
16411b8400
|
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
|
2015-12-31 14:21:29 -05:00 |
|
Simon Charette
|
be67400b47
|
Refs #24652 -- Used SimpleTestCase where appropriate.
|
2015-05-20 13:46:13 -04:00 |
|
Tim Graham
|
b3cd9e0d07
|
Moved contrib.messages tests out of contrib.
|
2015-02-11 10:19:22 -05:00 |
|