| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-12-30 | Added ignore_warnings decorator | Claude Paroz | |
| And removed Ignore*DeprecationWarningsMixin, now obsolete. Thanks Berker Peksag and Tim Graham for the review. | |||
| 2014-12-30 | Fixed #12118 -- Added shared cache support to SQLite in-memory testing. | Andriy Sokolovskiy | |
| 2014-12-28 | Added initial support for loading template engines. | Aymeric Augustin | |
| 2014-12-24 | Fixed #20349 -- Moved setting_changed signal to django.core.signals. | Collin Anderson | |
| This removes the need to load django.test when not testing. | |||
| 2014-12-22 | Fixed #23792 -- Added test.utils.freeze_time() context manager. | Thomas Chaumeny | |
| 2014-12-14 | Fixed #23992 -- Optimized reorder_suite functions using OrderedSet | Thomas Chaumeny | |
| 2014-12-12 | Refs #20392 -- Load fixtures once within TestCase | Thomas Chaumeny | |
| 2014-12-08 | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | |
| comprehension | |||
| 2014-12-06 | Refs #23947 -- Worked around a bug in Python that prevents deprecation ↵ | Diego Guimarães | |
| warnings from appearing in tests. | |||
| 2014-12-06 | Updated obsolete comment. | Aymeric Augustin | |
| 2014-12-04 | Fixed #23911 -- Added support for buffer file uploads in the test client | Thomas Tanner | |
| 2014-12-03 | Fixed #20392 -- Added TestCase.setUpTestData() | Thomas Chaumeny | |
| Each TestCase is also now wrapped in a class-wide transaction. | |||
| 2014-12-01 | Fixed #23289 -- Added mock as a test dependency. | Tim Graham | |
| 2014-12-01 | Fixed #23933 -- Made override_settings(DATABASE_ROUTERS) affect the master ↵ | wrwrwr | |
| router. | |||
| 2014-11-29 | Fixed #23930 -- Added copies of captured_std* managers from CPython's ↵ | wrwrwr | |
| test.support. StringIO import was adapted for compatibility with Python 2. | |||
| 2014-11-25 | Fixed #23682 -- Enhanced circular redirects detection in tests. | wrwrwr | |
| 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. | |||
| 2014-11-24 | Fixed #23742 -- Added an option to reverse tests order. | wrwrwr | |
| This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review. | |||
| 2014-11-23 | Encapsulated TEMPLATE_DEBUG in Engine. | Aymeric Augustin | |
| 2014-11-23 | Encapsulated TEMPLATE_CONTEXT_PROCESSORS in Engine. | Aymeric Augustin | |
| Since RequestContext doesn't know its Engine until it's passed to Template.render() -- and cannot without breaking a widely used public API -- an elaborate hack is required to apply context processors. | |||
| 2014-11-23 | Removed dependency of template loaders on Django settings. | Aymeric Augustin | |
| 2014-11-23 | Moved template loaders management in Engine. | Aymeric Augustin | |
| Passed the engine instance to loaders. This is a prerequisite for looking up configuration on the engine instance instead of global settings. This is backwards incompatible for custom template loaders that override __init__. However the documentation doesn't talk about __init__ and the way to pass arguments to custom template loaders isn't specified. I'm considering it a private API. | |||
| 2014-11-23 | Introduced a template engine class. | Aymeric Augustin | |
| Moved Django templates loading infrastructure there. | |||
| 2014-11-19 | Simplified caching of template context processors. | Aymeric Augustin | |
| 2014-11-19 | Simplified caching of templatetags modules. | Aymeric Augustin | |
| 2014-11-19 | Simplified caching of get_default_timezone(). | Aymeric Augustin | |
| 2014-11-16 | Refactored getting the list of template loaders. | Aymeric Augustin | |
| This provides the opportunity to move utility functions specific to the Django Template Language outside of django.template.loader. | |||
| 2014-11-16 | Removed override_template_loaders and override_with_test_loader. | Aymeric Augustin | |
| They can be replaced with override_settings and that makes the corresponding tests much more obvious. | |||
| 2014-11-16 | Refactored listing template subdirectories in apps. | Aymeric Augustin | |
| This change has the nice side effect of removing code that ran at import time and depended on the app registry at module level -- a notorious cause of AppRegistryNotReady exceptions. | |||
| 2014-11-16 | Moved all template loaders under django.template.loaders. | Aymeric Augustin | |
| Reformatted the code of base.Loader according to modern standards. Turned the test template loader into a regular locmem.Loader -- but didn't document it. Added a normal deprecation path for BaseLoader which is a public API. Added an accelerated deprecation path for TestTemplateLoader which is a private API. | |||
| 2014-11-16 | Fixed regression in 4dc4d12e. Refs #21598. | Aymeric Augustin | |
| That commit contained a mistake that resulted in the use_cached_loader option of override_with_test_loader being ignored. As a consequence some configurations weren't exercised any more by the test suite. | |||
| 2014-11-10 | Fixed negligible formatting error. | Aymeric Augustin | |
| 2014-11-10 | Removed legacy code from old transaction system | Thomas Chaumeny | |
| 2014-11-03 | Fixed #23300 -- Made assertTemplateUsed throw an error on responses not ↵ | Davide Ceretti | |
| fetched using the test client. Thanks zags for the report and bmispelon for the patch. | |||
| 2014-11-03 | Fixed #21281 -- Made override_settings act at class level when used as a ↵ | Thomas Chaumeny | |
| TestCase decorator. | |||
| 2014-10-28 | Fixed #23606 -- Implemented Client and RequestFactory trace() methods. | Rigel Di Scala | |
| Thanks KevinEtienne for the suggestion. | |||
| 2014-10-23 | Fixed #23707 -- Prevented discovery of duplicated tests | Claude Paroz | |
| 2014-10-21 | Fixed #21740 -- Allowed test client data to be an empty string | Claude Paroz | |
| This fixes a regression introduced by 2a31d00933. Thanks tony-zhu for the report. | |||
| 2014-10-20 | Removed redundant skip_checks option for call_command | Claude Paroz | |
| 2014-10-16 | Fixed #19508 -- Implemented uri_to_iri as per RFC. | Anubhav Joshi | |
| Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz for the review. | |||
| 2014-10-08 | Fixed #23600 -- Made default_storage aware of more settings changes. | Duncan Parkes | |
| Added MEDIA_URL, FILE_UPLOAD_PERMISSIONS, and FILE_UPLOAD_DIRECTORY_PERMISSIONS to the list of settings. | |||
| 2014-09-29 | Fixed #23567 -- Made assertQuerysetEqual check Counter equality when ↵ | Thomas Chaumeny | |
| ordered=False | |||
| 2014-09-29 | Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282. | Thomas Chaumeny | |
| Thanks Collin Anderson for the review. | |||
| 2014-09-24 | Fixed #23421 -- Corrected TEST SERIALIZE setting. | Tim Graham | |
| Thanks gkoller for the report. | |||
| 2014-09-12 | Fixed #17101 -- Integrated django-secure and added check --deploy option | Tim Graham | |
| Thanks Carl Meyer for django-secure and for reviewing. Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and Jorge Carleitao for reviews. | |||
| 2014-08-29 | Fixed #21483 -- Added WSGI environ to kwargs sent to request_started signal. | Joshua "jag" Ginsberg | |
| 2014-08-28 | Factorize some code using ContextDecorator. | Thomas Chaumeny | |
| 2014-08-26 | Allowed skipIf/UnlessDBFeature to accept several feature strings | Claude Paroz | |
| 2014-08-23 | Replaced HAS_SPATIALREFSYS by a database feature | Claude Paroz | |
| 2014-08-19 | Fixed #10190 -- Made HttpResponse charset customizable. | Unai Zalakain | |
| Thanks to Simon Charette, Aymeric Augustin, and Tim Graham for reviews and contributions. | |||
| 2014-07-26 | Fixed #22873 -- Renamed use_debug_cursor to force_debug_cursor to clarify ↵ | areski | |
| the behavior. | |||
