summaryrefslogtreecommitdiff
path: root/tests/test_client
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fixed #24987 -- Allowed inactive users to login with the test client.Alexander Gaevsky2016-03-231-3/+7
* Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users.Alexander Gaevsky2016-03-231-1/+7
* Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham2016-02-061-22/+3
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-1/+2
* Fixed #26125 -- Fixed E731 flake warnings.userimack2016-01-251-1/+2
* Fixed #24855 -- Allowed using contrib.auth.login() without credentials.Paulo Poiati2016-01-071-1/+0
* Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek2015-12-311-1/+1
* Refs #25969 -- Replaced usage of render_to_response() with render() in tests.Tim Graham2015-12-231-7/+5
* Fixed #25780 -- Removed redundant status code assertions from testsAlex Morozov2015-11-211-2/+0
* Fixed #25424 -- Use force_str for test client URLs.Travis Jensen2015-09-191-0/+9