summaryrefslogtreecommitdiff
path: root/tests/test_client
Commit message (Expand)AuthorAgeFilesLines
* Fixed #32470 -- Fixed ResolverMatch instance on test clients when request.url...Marc Gibbons2021-02-232-1/+42
* Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers.Carlton Gibson2020-11-041-0/+11
* Fixed #32162 -- Fixed setting Content-Length header in AsyncRequestFactory.Patrick Arminio2020-11-031-0/+15
* Refs #25780 -- Removed redundant status code assertions from tests.Jon Dufresne2020-10-281-7/+3
* Simplifed formset iteration using enumerate().Jon Dufresne2020-10-261-2/+1
* Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick2020-09-142-2/+2
* Fixed #31494 -- Preserved query strings when following HTTP 307/308 redirects...Ahmad A. Hussein2020-05-271-0/+14
* Refs #31494 -- Added test for query strings for GET/HEAD requests when follow...Ahmad A. Hussein2020-05-273-0/+30
* Changed django.forms.ValidationError imports to django.core.exceptions.Valida...François Freitag2020-04-281-1/+2
* Fixed #31224 -- Added support for asynchronous views and middleware.Andrew Godwin2020-03-183-2/+63
* Fixed #30677 -- Improved error message for urlencode() and Client when None i...swatantra2019-08-111-4/+4
* Cleaned up exception message checking in some tests.Jon Dufresne2019-03-151-1/+2
* Fixed #18707 -- Added support for the test client to return 500 responses.Jon Dufresne2019-02-201-0/+14
* Fixed grammar in FakePayload exception message.Jon Dufresne2019-01-251-0/+11
* Updated test URL patterns to use path() and re_path().Tim Graham2018-12-311-39/+39
* Fixed #30024 -- Made urlencode() and Client raise TypeError when None is pass...Jon Dufresne2018-12-271-0/+16
* Made reused RequestFactory instances class attributes.Simon Charette2018-11-271-3/+1
* Fixed #29687 -- Allowed the test client to serialize list/tuple as JSON.Dan Palmer2018-08-252-8/+15
* Fixed #29553 -- Made test client set Content-Length header to a string rather...Tim Graham2018-07-091-1/+1
* Fixed #27398 -- Added an assertion to compare URLs, ignoring the order of the...Jan Pieter Waagmeester2018-06-201-0/+6
* Fixed hanging indentation in various code.Mariusz Felisiak2018-03-161-2/+1
* Added a test for Client.generic() data coercion.Tim Graham2018-02-122-1/+11
* Refs #20530 -- Added a test for test client query string encoding.Tim Graham2018-02-121-0/+5
* Fixed #29082 -- Allowed the test client to encode JSON request data.Nick Sarbicki2018-02-063-0/+41
* Fixed #27999 -- Added test client support for HTTP 307 and 308 redirects.Tom2018-02-063-0/+61
* Fixed #28837 -- Fixed test client crash if an exception with more than one ar...Nicolas Delaby2017-11-283-1/+16
* Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne2017-05-271-1/+1
* Refs #23919 -- Removed misc Python 2/3 references.Tim Graham2017-01-251-10/+1
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-192-2/+2
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-1/+1
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-5/+0
* Refs #27184 -- Fixed unclosed file ResourceWarning in test_client test.Jon Dufresne2016-12-121-2/+2
* Fixed #27542 -- Made Client.force_login() skip auth backends without get_user().Anton Samarchyan2016-12-012-0/+15
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+5
* Decorated a few functions.Tim Graham2016-11-141-5/+2
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-102-29/+13
* Tested the test client uploading of NamedTemporaryFile.Tom Scrace2016-11-091-0/+5
* Fixed #27184 -- Allowed uploading TemporaryFile with the test client.Tom Scrace2016-11-093-0/+13
* Fixed #27027 -- Restored Client.force_login() defaulting to the first auth ba...Ben Demboski2016-08-061-0/+18
* Fixed #27020 -- Used a context manager to close files.Ville Skyttä2016-08-041-4/+1
* Replaced use of TestCase.fail() with assertRaises().Tim Graham2016-06-281-12/+1
* Refs #17209 -- Added LoginView and LogoutView class-based viewsClaude Paroz2016-06-241-2/+2
* Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.Tobias McNulty2016-06-201-1/+7
* Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne2016-06-161-1/+1
* Fixed #26666 -- Added more useful error message to assertRedirectsTobias McNulty2016-06-021-0/+9
* Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner2016-05-171-1/+1
* Refs #26428 -- Added support for relative path redirects to the test client.Tim Graham2016-04-291-0/+12
* Fixed #26052 -- Moved conditional_content_removal() processing to the test cl...Tim Graham2016-04-251-0/+71
* Fixed #25699 -- Allowed using the test client if 'django.contrib.sessions' is...Sergey Kolosov2016-04-041-0/+22
* Fixed #26428 -- Added support for relative path redirects in assertRedirects().Tim Graham2016-04-022-0/+10