Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated documentation and comments for RFC updates. | Nick Pope | 2022-11-10 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | - Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents | ||||
* | Fixed #34063 -- Fixed reading request body with async request factory and ↵ | Scott Halgrim | 2022-11-08 | 1 | -0/+2 |
| | | | | | | | client. Co-authored-by: Kevan Swanberg <kevswanberg@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | ||||
* | Fixed #32969 -- Fixed pickling HttpResponse and subclasses. | Anv3sh | 2022-06-20 | 1 | -0/+5 |
| | |||||
* | Moved remaining SimpleTestCase.assertFormError()/assertFormsetErrors() tests ↵ | Mariusz Felisiak | 2022-04-05 | 1 | -43/+0 |
| | | | | | | | to test_utils. This also removes redundant tests in test_client_regress. Follow up to 68144f40490b2572c8da4341742b9e387e3f6bdd. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -112/+149 |
| | |||||
* | Fixed #33132 -- Fixed test client handling of querystring only redirects. | Jaap Roes | 2021-09-24 | 1 | -0/+15 |
| | | | | Regression in 1e5aa8e1c79252cc810af21294a6e945d11d37b3. | ||||
* | Fixed #32790 -- Ensured test Client handles redirects to domain indexes ↵ | tomhamiltonstubber | 2021-06-23 | 1 | -0/+16 |
| | | | | without a specified trailing slash. | ||||
* | Simplifed formset iteration using enumerate(). | Jon Dufresne | 2020-10-26 | 1 | -2/+1 |
| | |||||
* | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | 2020-09-14 | 1 | -1/+1 |
| | |||||
* | Refs #31494 -- Added test for query strings for GET/HEAD requests when ↵ | Ahmad A. Hussein | 2020-05-27 | 1 | -0/+8 |
| | | | | following HTTP 307/308 redirects in test client. | ||||
* | Changed django.forms.ValidationError imports to ↵ | François Freitag | 2020-04-28 | 1 | -1/+2 |
| | | | | | | django.core.exceptions.ValidationError. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #31224 -- Added support for asynchronous views and middleware. | Andrew Godwin | 2020-03-18 | 1 | -0/+4 |
| | | | | | This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client. | ||||
* | Fixed #29687 -- Allowed the test client to serialize list/tuple as JSON. | Dan Palmer | 2018-08-25 | 1 | -2/+2 |
| | |||||
* | Added a test for Client.generic() data coercion. | Tim Graham | 2018-02-12 | 1 | -1/+4 |
| | | | | | The smart_str() call (now force_bytes()) added in e73838b6ddcc7b37c03f9eee04fa6e6a283fedb3 is otherwise untested. | ||||
* | Fixed #29082 -- Allowed the test client to encode JSON request data. | Nick Sarbicki | 2018-02-06 | 1 | -0/+14 |
| | |||||
* | Fixed #27999 -- Added test client support for HTTP 307 and 308 redirects. | Tom | 2018-02-06 | 1 | -0/+24 |
| | |||||
* | Fixed #28837 -- Fixed test client crash if an exception with more than one ↵ | Nicolas Delaby | 2017-11-28 | 1 | -0/+9 |
| | | | | | | | | arg is raised. Also removed usage of the problematic pattern elsewhere. Regression in 6e55e1d88a5c4453e25f0caf7ffb68973de5c0ba. | ||||
* | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | 2017-05-27 | 1 | -1/+1 |
| | | | iter(dict) is equivalent to iter(dict.keys()). | ||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -1/+1 |
| | |||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -1/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | 2016-11-14 | 1 | -0/+5 |
| | |||||
* | Decorated a few functions. | Tim Graham | 2016-11-14 | 1 | -5/+2 |
| | |||||
* | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | 2016-11-10 | 1 | -1/+1 |
| | |||||
* | Fixed #27184 -- Allowed uploading TemporaryFile with the test client. | Tom Scrace | 2016-11-09 | 1 | -0/+5 |
| | | | | Thanks Federico Capoano for finishing the patch. | ||||
* | Refs #25969 -- Replaced usage of render_to_response() with render() in tests. | Tim Graham | 2015-12-23 | 1 | -7/+5 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -2/+6 |
| | |||||
* | Fixed #25163 -- Fixed exception handling in nested test client requests. | pscottdevos | 2015-08-11 | 1 | -0/+11 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -3/+3 |
| | |||||
* | Fixed #23606 -- Implemented Client and RequestFactory trace() methods. | Rigel Di Scala | 2014-10-28 | 1 | -1/+29 |
| | | | | Thanks KevinEtienne for the suggestion. | ||||
* | Fixed #21774 -- Isolate all test urls from eachother. | Marc Tamlyn | 2014-01-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose. | ||||
* | Fixing E302 Errors | Jason Myers | 2013-11-02 | 1 | -0/+22 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed #21341 -- Eased https requests with the test client | Unai Zalakain | 2013-11-02 | 1 | -0/+1 |
| | | | | | | | All request methods of ``django.test.client.Client`` receive a ``secure`` argument that defaults to ``False`` indicating whether or not to make the request through https. Thanks Aymeric Augustin for the review. | ||||
* | Fixed all the E203 violations | Alex Gaynor | 2013-10-26 | 1 | -2/+2 |
| | |||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 1 | -1/+1 |
| | |||||
* | Fixed #20919 -- Extended assertRedirects to be able to avoid fetching ↵ | Juan Catalano | 2013-09-10 | 1 | -0/+3 |
| | | | | | | redirect's response. Thanks mjtamlyn for the suggestion. | ||||
* | Took advantage of django.utils.six.moves.urllib.*. | Aymeric Augustin | 2013-09-05 | 1 | -4/+1 |
| | |||||
* | Fixed #11603 - Added django.test.SimpleTestCase.assertFormsetError | Tim Graham | 2013-05-27 | 1 | -1/+45 |
| | | | | Thank-you Martin Green for the patch. | ||||
* | Removed mentions of modeltests. | Ramiro Morales | 2013-03-03 | 1 | -3/+3 |
| | |||||
* | Merged regressiontests and modeltests into the test root. | Florian Apolloner | 2013-02-26 | 1 | -0/+218 |