summaryrefslogtreecommitdiff
path: root/tests/test_client
AgeCommit message (Expand)Author
2019-08-11Fixed #30677 -- Improved error message for urlencode() and Client when None i...swatantra
2019-03-15Cleaned up exception message checking in some tests.Jon Dufresne
2019-02-20Fixed #18707 -- Added support for the test client to return 500 responses.Jon Dufresne
2019-01-25Fixed grammar in FakePayload exception message.Jon Dufresne
2018-12-31Updated test URL patterns to use path() and re_path().Tim Graham
2018-12-27Fixed #30024 -- Made urlencode() and Client raise TypeError when None is pass...Jon Dufresne
2018-11-27Made reused RequestFactory instances class attributes.Simon Charette
2018-08-25Fixed #29687 -- Allowed the test client to serialize list/tuple as JSON.Dan Palmer
2018-07-09Fixed #29553 -- Made test client set Content-Length header to a string rather...Tim Graham
2018-06-20Fixed #27398 -- Added an assertion to compare URLs, ignoring the order of the...Jan Pieter Waagmeester
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-02-12Added a test for Client.generic() data coercion.Tim Graham
2018-02-12Refs #20530 -- Added a test for test client query string encoding.Tim Graham
2018-02-06Fixed #29082 -- Allowed the test client to encode JSON request data.Nick Sarbicki
2018-02-06Fixed #27999 -- Added test client support for HTTP 307 and 308 redirects.Tom
2017-11-28Fixed #28837 -- Fixed test client crash if an exception with more than one ar...Nicolas Delaby
2017-05-27Fixed #28249 -- Removed unnecessary dict.keys() calls.Jon Dufresne
2017-01-25Refs #23919 -- Removed misc Python 2/3 references.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-12Refs #27184 -- Fixed unclosed file ResourceWarning in test_client test.Jon Dufresne
2016-12-01Fixed #27542 -- Made Client.force_login() skip auth backends without get_user().Anton Samarchyan
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-14Decorated a few functions.Tim Graham
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-11-09Tested the test client uploading of NamedTemporaryFile.Tom Scrace
2016-11-09Fixed #27184 -- Allowed uploading TemporaryFile with the test client.Tom Scrace
2016-08-06Fixed #27027 -- Restored Client.force_login() defaulting to the first auth ba...Ben Demboski
2016-08-04Fixed #27020 -- Used a context manager to close files.Ville Skyttä
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
2016-06-24Refs #17209 -- Added LoginView and LogoutView class-based viewsClaude Paroz
2016-06-20Refs #26666 -- Added ALLOWED_HOSTS validation when running tests.Tobias McNulty
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-02Fixed #26666 -- Added more useful error message to assertRedirectsTobias McNulty
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
2016-04-29Refs #26428 -- Added support for relative path redirects to the test client.Tim Graham
2016-04-25Fixed #26052 -- Moved conditional_content_removal() processing to the test cl...Tim Graham
2016-04-04Fixed #25699 -- Allowed using the test client if 'django.contrib.sessions' is...Sergey Kolosov
2016-04-02Fixed #26428 -- Added support for relative path redirects in assertRedirects().Tim Graham
2016-03-23Fixed #24987 -- Allowed inactive users to login with the test client.Alexander Gaevsky
2016-03-23Fixed #25232 -- Made ModelBackend/RemoteUserBackend reject inactive users.Alexander Gaevsky
2016-02-06Fixed #26175 -- Removed SHA1 password hashes in tests.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-07Fixed #24855 -- Allowed using contrib.auth.login() without credentials.Paulo Poiati
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
2015-12-23Refs #25969 -- Replaced usage of render_to_response() with render() in tests.Tim Graham
2015-11-21Fixed #25780 -- Removed redundant status code assertions from testsAlex Morozov
2015-09-19Fixed #25424 -- Use force_str for test client URLs.Travis Jensen