Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25424 -- Use force_str for test client URLs. | Travis Jensen | 2015-09-19 | 1 | -0/+9 |
| | | | | | | | | urlparse() fails with an AttributeError ("'__proxy__' object has no attribute 'decode'") if reverse_lazy is used to look up the URL (this is exactly the same problem that caused ticket #18776). The solution is to use force_str() on the path before handing it to urlparse(). | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 2 | -3/+9 |
| | |||||
* | Fixed #25163 -- Fixed exception handling in nested test ↵ | pscottdevos | 2015-08-11 | 3 | -0/+20 |
| | | | | client requests. | ||||
* | Fixed #20916 -- Added Client.force_login() to bypass ↵ | Jon Dufresne | 2015-07-01 | 2 | -0/+106 |
| | | | | authentication. | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -4/+6 |
| | |||||
* | Fixed #23960 -- Removed http.fix_location_header | Claude Paroz | 2015-03-18 | 1 | -27/+14 |
| | | | | Thanks Carl Meyer for the report and Tim Graham for the review. | ||||
* | Converted test fixtures to setUpTestData methods | Josh Smeaton | 2015-03-05 | 2 | -57/+24 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 3 | -6/+4 |
| | |||||
* | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | 2015-02-03 | 1 | -2/+2 |
| | |||||
* | Changed RedirectView.permanent to False per deprecation ↵ | Tim Graham | 2015-01-18 | 1 | -2/+2 |
| | | | | timeline; refs #21587. | ||||
* | Corrected deprecation warnings for RedirectView; refs ↵ | Berker Peksag | 2014-11-28 | 2 | -34/+19 |
| | | | | #21587. | ||||
* | Fixed #21587 -- Added a warning for changing default of ↵ | Berker Peksag | 2014-11-25 | 1 | -16/+31 |
| | | | | RedirectView.permanent. | ||||
* | Fixed #23606 -- Implemented Client and RequestFactory ↵ | Rigel Di Scala | 2014-10-28 | 3 | -4/+82 |
| | | | | | | trace() methods. Thanks KevinEtienne for the suggestion. | ||||
* | Removed numbering from the models.py header of some test ↵ | Loic Bistuer | 2014-09-24 | 1 | -1/+1 |
| | | | | | | packages. This is a reliqua from the early days of the modeltests/regressiontests era. | ||||
* | Fixed #23276 -- Deprecated passing views as strings to ↵ | Tim Graham | 2014-08-12 | 1 | -2/+3 |
| | | | | url(). | ||||
* | Fixed #16087 -- Added ResolverMatch instance to test ↵ | Greg Chapple | 2014-06-13 | 2 | -1/+24 |
| | | | | | | client response. Thanks mrmachine for the suggestion. | ||||
* | Fixed several typos in Django | Alex Gaynor | 2014-05-29 | 1 | -1/+1 |
| | |||||
* | Harmonized some PEP 0263 coding preambles | Claude Paroz | 2014-05-15 | 1 | -1/+1 |
| | |||||
* | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | 2014-04-06 | 1 | -5/+5 |
| | |||||
* | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | 2014-04-03 | 1 | -31/+31 |
| | | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | ||||
* | Fixed #21774 -- Isolate all test urls from eachother. | Marc Tamlyn | 2014-01-14 | 3 | -74/+82 |
| | | | | | | | | | | | | | 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. | ||||
* | Fixed #12571 -- Attached originating WSGIRequest to test ↵ | Unai Zalakain | 2014-01-10 | 1 | -0/+14 |
| | | | | | | | | | client responses. Originating WSGIRequests are now attached to the ``wsgi_request`` attribute of the ``HttpResponse`` returned by the testing client. Thanks rvdrijst for the suggestion. | ||||
* | Imported override_settings from its new location. | Aymeric Augustin | 2013-12-23 | 1 | -1/+1 |
| | |||||
* | Removed superfluous models.py files. | Aymeric Augustin | 2013-12-17 | 1 | -0/+0 |
| | | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module. | ||||
* | Fixed #21448 -- Fixed test client logout with ↵ | Claude Paroz | 2013-11-26 | 1 | -0/+4 |
| | | | | | | cookie-based sessions Thanks Gunnar Scherf for the report and the suggested patch. | ||||
* | Fixed all E261 warnings | coagulant | 2013-11-03 | 1 | -1/+1 |
| | |||||
* | Fixing E302 Errors | Jason Myers | 2013-11-03 | 2 | -1/+25 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -2/+0 |
| | |||||
* | Fixed #21341 -- Eased https requests with the test client | Unai Zalakain | 2013-11-02 | 2 | -0/+13 |
| | | | | | | | 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-27 | 1 | -2/+2 |
| | |||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 2 | -8/+8 |
| | |||||
* | Removed some direct settings manipulations in tests; ↵ | Bouke Haarsma | 2013-10-21 | 1 | -10/+4 |
| | | | | refs #21230. | ||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -1/+1 |
| | |||||
* | Whitespace cleanup. | Tim Graham | 2013-10-10 | 1 | -39/+39 |
| | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
* | Fixed #20919 -- Extended assertRedirects to be able to ↵ | Juan Catalano | 2013-09-10 | 3 | -1/+9 |
| | | | | | | avoid fetching redirect's response. Thanks mjtamlyn for the suggestion. | ||||
* | Took advantage of django.utils.six.moves.urllib.*. | Aymeric Augustin | 2013-09-05 | 1 | -4/+1 |
| | |||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 2 | -3/+1 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Fixed #11603 - Added ↵ | Tim Graham | 2013-05-27 | 2 | -1/+46 |
| | | | | | | django.test.SimpleTestCase.assertFormsetError Thank-you Martin Green for the patch. | ||||
* | Move last remaining tests out of models.py files; prep ↵ | Preston Timmons | 2013-04-03 | 2 | -523/+502 |
| | | | | for test discovery. | ||||
* | 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 | 6 | -0/+837 |