Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25668 -- Misc spelling errors | Ville Skyttä | 2015-11-03 | 1 | -2/+2 |
| | |||||
* | Removed dictionary and context_instance parameters for ↵ | Tim Graham | 2015-09-24 | 2 | -7/+3 |
| | | | | | | render functions. Per deprecation timeline. | ||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -9/+49 |
| | |||||
* | Fixed #24720 -- Avoided resolving URLs that don't end in ↵ | Jay Cox | 2015-07-31 | 1 | -1/+1 |
| | | | | | | a slash twice in CommonMiddleware. This speeds up affected requests by about 5%. | ||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -4/+4 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Fixed #24773 -- Added a json() method on test client ↵ | Andy McKay | 2015-05-25 | 3 | -1/+16 |
| | | | | responses. | ||||
* | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | 2015-05-20 | 1 | -18/+20 |
| | |||||
* | Fixed #23960 -- Removed http.fix_location_header | Claude Paroz | 2015-03-18 | 1 | -14/+19 |
| | | | | Thanks Carl Meyer for the report and Tim Graham for the review. | ||||
* | Converted test fixtures to setUpTestData methods | Josh Smeaton | 2015-03-05 | 2 | -68/+31 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 4 | -12/+11 |
| | |||||
* | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | 2015-02-03 | 1 | -6/+6 |
| | |||||
* | Removed an unused import and a flake8 exclude that ↵ | Tim Graham | 2015-01-19 | 1 | -1/+1 |
| | | | | caused it to be missed. | ||||
* | Changed RedirectView.permanent to False per deprecation ↵ | Tim Graham | 2015-01-18 | 2 | -31/+31 |
| | | | | timeline; refs #21587. | ||||
* | Removed request.REQUEST per deprecation timeline; refs ↵ | Tim Graham | 2015-01-17 | 2 | -21/+0 |
| | | | | #18659. | ||||
* | Accounted for multiple template engines in template ↵ | Aymeric Augustin | 2015-01-12 | 1 | -3/+5 |
| | | | | responses. | ||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 2 | -25/+23 |
| | |||||
* | Deprecated TEMPLATE_CONTEXT_PROCESSORS. | Aymeric Augustin | 2014-12-28 | 1 | -3/+9 |
| | |||||
* | Deprecated TEMPLATE_DIRS. | Aymeric Augustin | 2014-12-28 | 1 | -7/+5 |
| | |||||
* | Deprecated some arguments of ↵ | Aymeric Augustin | 2014-12-28 | 1 | -8/+12 |
| | | | | | | | | django.shortcuts.render(_to_response). dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms. | ||||
* | Corrected deprecation warnings for RedirectView; refs ↵ | Berker Peksag | 2014-11-28 | 1 | -12/+12 |
| | | | | #21587. | ||||
* | Fixed #23682 -- Enhanced circular redirects detection in ↵ | wrwrwr | 2014-11-25 | 3 | -3/+20 |
| | | | | | | | | | | | | | | | tests. When the test client detects a redirect to a URL seen in the currently followed chain it will now raise a RedirectCycleError instead of just returning the first repeated response. It will also complain when a single chain of redirects is longer than 20, as this often means a redirect loop with varying URLs, and even if it's not actually one, such long chains are likely to be treated as loops by browsers. Thanks Preston Timmons, Berker Peksag, and Tim Graham for reviews. | ||||
* | Simplified caching of template context processors. | Aymeric Augustin | 2014-11-19 | 2 | -5/+5 |
| | |||||
* | Refactored getting the list of template loaders. | Aymeric Augustin | 2014-11-16 | 1 | -10/+3 |
| | | | | | This provides the opportunity to move utility functions specific to the Django Template Language outside of django.template.loader. | ||||
* | Fixed #23620 -- Used more specific assertions in the ↵ | Berker Peksag | 2014-11-03 | 1 | -2/+2 |
| | | | | Django test suite. | ||||
* | Fixed #21740 -- Allowed test client data to be an empty ↵ | Claude Paroz | 2014-10-21 | 1 | -0/+10 |
| | | | | | | | string This fixes a regression introduced by 2a31d00933. Thanks tony-zhu for the report. | ||||
* | Fixed flake8 warnings. | Tim Graham | 2014-09-29 | 1 | -1/+1 |
| | |||||
* | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR ↵ | Thomas Chaumeny | 2014-09-28 | 1 | -2/+2 |
| | | | | | | 3282. Thanks Collin Anderson for the review. | ||||
* | Fixed #22771 -- Fixed test.Client.logout when using ↵ | Xavier Fernandez | 2014-06-13 | 2 | -0/+39 |
| | | | | custom auth backend. | ||||
* | Fixed #21357 -- Fixed test client session initialization. | Preston Timmons | 2014-05-23 | 1 | -0/+8 |
| | | | | | The test client will now create a session when it is first accessed if no session already exists. | ||||
* | Revert "Fixed #15179 -- middlewares not applied for test ↵ | Tim Graham | 2014-04-29 | 1 | -44/+0 |
| | | | | | | | | client login()" This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755. See the ticket for concerns with this implementation; it will be revisited. | ||||
* | Fixed #22369 -- Added count parameter to assertTemplateUsed | Jacob R. Rothenbuhler | 2014-04-14 | 3 | -0/+42 |
| | |||||
* | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | 2014-04-06 | 1 | -28/+28 |
| | |||||
* | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | 2014-04-03 | 1 | -32/+32 |
| | | | | 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 | -131/+166 |
| | | | | | | | | | | | | | 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. | ||||
* | Imported override_settings from its new location. | Aymeric Augustin | 2013-12-23 | 1 | -2/+2 |
| | |||||
* | Fixed #15179 -- middlewares not applied for test client ↵ | Unai Zalakain | 2013-11-19 | 1 | -0/+44 |
| | | | | | | | | | | login() Requests made with django.test.Client.login() and logout() respect defaults defined in django.test.Client instantiation and are processed through middleware. Thanks to Loic for the reviews. | ||||
* | Fixed #13725 -- take url scheme into account in ↵ | Unai Zalakain | 2013-11-07 | 1 | -0/+19 |
| | | | | | | | | | assertRedirects Scheme is handled correctly when making comparisons between two URLs. If there isn't any scheme specified in the location where we are redirected to, the original request's scheme is used. If present, the scheme in ``expected_url`` is the one used to make the comparations to. | ||||
* | Fixed all E261 warnings | coagulant | 2013-11-03 | 1 | -3/+3 |
| | |||||
* | Fixing E302 Errors | Jason Myers | 2013-11-03 | 3 | -6/+41 |
| | | | | Signed-off-by: Jason Myers <jason@jasonamyers.com> | ||||
* | Fix all violators of E231 | Alex Gaynor | 2013-10-26 | 3 | -23/+23 |
| | |||||
* | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | 2013-10-23 | 1 | -0/+2 |
| | |||||
* | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | 2013-10-21 | 1 | -4/+4 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 2 | -3/+3 |
| | |||||
* | Fixed #18659 -- Deprecated request.REQUEST and MergeDict | Bouke Haarsma | 2013-10-17 | 1 | -6/+14 |
| | | | | Thanks Aymeric Augustin for the suggestion. | ||||
* | 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 #18356 -- Gave the test client ↵ | Bojan Mihelac | 2013-08-09 | 3 | -1/+21 |
| | | | | | | | signals.template_rendered call a unique dispatch_uid This prevents the test client context from being lost when the client is used in a nested fashion. | ||||
* | Removed most of absolute_import imports | Claude Paroz | 2013-07-29 | 1 | -2/+0 |
| | | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | ||||
* | Fixed #18924 -- Made test.Client.logout send ↵ | Tim Graham | 2013-06-04 | 2 | -0/+85 |
| | | | | | | | user_logged_out signal. Thanks awsum for the suggestion and Pavel Ponomarev and Florian Hahn for the patch. | ||||
* | Fixed #20404 -- Added a keys() method to ContextList. | Chris Wilson | 2013-05-31 | 1 | -2/+16 |
| | | | | | | | | | | | It's useful to be able to list all the (flattened) keys of a ContextList, to help you figure out why the variable that's supposed to be there is not. No .values() or .items() added as the definition for those aren't clear. The patch is Chris Wilson's patch from pull request 1065 with some modifications by committer. | ||||
* | Fixed #11603 - Added ↵ | Tim Graham | 2013-05-27 | 1 | -0/+191 |
| | | | | | | django.test.SimpleTestCase.assertFormsetError Thank-you Martin Green for the patch. |