Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refs #23919 -- Removed reset_warning_registry() workaround for Python < 3.4.2. | Tim Graham | 2017-01-19 | 1 | -14/+0 | |
| | ||||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -5/+5 | |
| | ||||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -3/+3 | |
| | | | | Thanks Tim Graham for the review. | |||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -2/+2 | |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | |||||
* | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | 2017-01-18 | 1 | -7/+2 | |
| | | | | Thanks Tim Graham for the review. | |||||
* | Fixed #27698 -- Added django.test.utils.ContextList.get() | Tim Graham | 2017-01-06 | 1 | -0/+6 | |
| | ||||||
* | Fixed #26840 -- Added test.utils.setup/teardown_databases(). | Andreas Pelme | 2016-08-17 | 1 | -1/+152 | |
| | ||||||
* | Fixed #27057 -- Made setup_test_environment() store saved settings in one place. | Chris Jerdonek | 2016-08-15 | 1 | -23/+24 | |
| | ||||||
* | Fixed #27019 -- Made teardown_test_environment() restore the old DEBUG. | Chris Jerdonek | 2016-08-10 | 1 | -2/+15 | |
| | ||||||
* | Fixed #27032 -- Prevented setup_test_environment() from being called twice. | Chris Jerdonek | 2016-08-08 | 1 | -0/+7 | |
| | ||||||
* | Edited docs of test.utils.setup/teardown_test_environment(). | Chris Jerdonek | 2016-08-05 | 1 | -9/+6 | |
| | ||||||
* | Refs #26666 -- Added ALLOWED_HOSTS validation when running tests. | Tobias McNulty | 2016-06-20 | 1 | -1/+2 | |
| | | | | Also used ALLOWED_HOSTS to check for external hosts in assertRedirects(). | |||||
* | Fixed broken links in docs and comments. | Ville Skyttä | 2016-06-15 | 1 | -1/+1 | |
| | ||||||
* | Fixed E128 flake8 warnings in django/. | Tim Graham | 2016-04-08 | 1 | -3/+5 | |
| | ||||||
* | Fixed W503 flake8 warnings. | Tim Graham | 2016-04-04 | 1 | -7/+2 | |
| | ||||||
* | Fixed #26157 #25321 -- Added sql/params to extra context of schema logger | Markus Holtermann | 2016-03-15 | 1 | -2/+3 | |
| | | | | Thanks Akshesh Doshi for the initial patch and Tim Graham for the review | |||||
* | Fixed #25735 -- Added support for test tags to DiscoverRunner. | Jakub Paczkowski | 2016-02-17 | 1 | -0/+10 | |
| | | | | Thanks Carl Meyer, Claude Paroz, and Simon Charette for review. | |||||
* | Unified test context decorators. | Simon Charette | 2016-01-06 | 1 | -128/+127 | |
| | | | | Thanks to Tim for the review. | |||||
* | Refs #25746 -- Added a test utility to isolate inlined model registration. | Simon Charette | 2016-01-06 | 1 | -0/+68 | |
| | | | | Thanks to Tim for the review. | |||||
* | Fixed #26013 -- Moved django.core.urlresolvers to django.urls. | Marten Kenbeek | 2015-12-31 | 1 | -1/+1 | |
| | | | | Thanks to Tim Graham for the review. | |||||
* | Fixed #25170 -- Made assertXMLEqual()/assertXMLNotEqual() ignore leading and ↵ | Mattia Larentis | 2015-11-09 | 1 | -3/+3 | |
| | | | | | | trailing whitespace. Thanks Jacek Bzdak for indepdently contributing a similar fix. | |||||
* | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | 2015-08-31 | 1 | -1/+0 | |
| | ||||||
* | Fixed #24590 -- Cached calls to swappable_setting. | Markus Holtermann | 2015-08-27 | 1 | -1/+11 | |
| | | | | | | | | | | Moved the lookup in Field.swappable_setting to Apps, and added an lru_cache to cache the results. Refs #24743 Thanks Marten Kenbeek for the initial work on the patch. Thanks Aymeric Augustin and Tim Graham for the review. | |||||
* | Fixed #24526 -- Combined django.request/security loggers with the root logger. | Tim Graham | 2015-04-24 | 1 | -0/+15 | |
| | | | | Thanks Carl Meyer for review. | |||||
* | Fixed #24476 -- Added context manager/decorator for overriding script prefix. | Bas Peschier | 2015-03-18 | 1 | -0/+21 | |
| | | | | | | Tests were using an undocumented keyword argument for easily overriding script prefix while reversing. This is now changed into a test utility which can be used as decorator or context manager. | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -5/+5 | |
| | ||||||
* | Fixed #24168 -- Allowed selecting a template engine in a few APIs. | Aymeric Augustin | 2015-02-03 | 1 | -1/+23 | |
| | | | | | | | | | | Specifically in rendering shortcuts, template responses, and class-based views that return template responses. Also added a test for render_to_response(status=...) which was missing from fdbfc980. Thanks Tim and Carl for the review. | |||||
* | Removed test.utils.TestTemplateLoader per deprecation timeline. | Tim Graham | 2015-01-18 | 1 | -12/+0 | |
| | ||||||
* | Added ignore_warnings decorator | Claude Paroz | 2014-12-30 | 1 | -22/+35 | |
| | | | | | And removed Ignore*DeprecationWarningsMixin, now obsolete. Thanks Berker Peksag and Tim Graham for the review. | |||||
* | Fixed #23792 -- Added test.utils.freeze_time() context manager. | Thomas Chaumeny | 2014-12-22 | 1 | -0/+17 | |
| | ||||||
* | Fixed #23968 -- Replaced list comprehension with generators and dict ↵ | Jon Dufresne | 2014-12-08 | 1 | -2/+2 | |
| | | | | comprehension | |||||
* | Refs #23947 -- Worked around a bug in Python that prevents deprecation ↵ | Diego Guimarães | 2014-12-06 | 1 | -0/+14 | |
| | | | | warnings from appearing in tests. | |||||
* | Updated obsolete comment. | Aymeric Augustin | 2014-12-06 | 1 | -2/+2 | |
| | ||||||
* | Fixed #23930 -- Added copies of captured_std* managers from CPython's ↵ | wrwrwr | 2014-11-29 | 1 | -0/+48 | |
| | | | | | | test.support. StringIO import was adapted for compatibility with Python 2. | |||||
* | Removed override_template_loaders and override_with_test_loader. | Aymeric Augustin | 2014-11-16 | 1 | -86/+2 | |
| | | | | | They can be replaced with override_settings and that makes the corresponding tests much more obvious. | |||||
* | Moved all template loaders under django.template.loaders. | Aymeric Augustin | 2014-11-16 | 1 | -18/+12 | |
| | | | | | | | | | | | | 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. | |||||
* | Fixed regression in 4dc4d12e. Refs #21598. | Aymeric Augustin | 2014-11-16 | 1 | -3/+5 | |
| | | | | | | 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. | |||||
* | Fixed #17101 -- Integrated django-secure and added check --deploy option | Tim Graham | 2014-09-12 | 1 | -1/+5 | |
| | | | | | | | Thanks Carl Meyer for django-secure and for reviewing. Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and Jorge Carleitao for reviews. | |||||
* | Factorize some code using ContextDecorator. | Thomas Chaumeny | 2014-08-28 | 1 | -8/+2 | |
| | ||||||
* | Fixed #22873 -- Renamed use_debug_cursor to force_debug_cursor to clarify ↵ | areski | 2014-07-26 | 1 | -3/+3 | |
| | | | | the behavior. | |||||
* | Fixed #3711, #6734, #12581 -- Bounded connection.queries. | Aymeric Augustin | 2014-06-07 | 1 | -2/+2 | |
| | | | | | | | Prevented unlimited memory consumption when running background tasks with DEBUG=True. Thanks Rob, Alex, Baptiste, and others. | |||||
* | Fixed #21598 -- cleaned up template loader overrides in tests | Unai Zalakain | 2014-05-22 | 1 | -24/+89 | |
| | | | | | | | - Template loader overriding is managed with contexts. - The test loader is a class (function based loaders entered deprecation timeline in 1.4). - Template loader overrider that overrides with test loader added. | |||||
* | Advanced deprecation warnings for 1.8. | Aymeric Augustin | 2014-03-22 | 1 | -4/+4 | |
| | ||||||
* | Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings | Claude Paroz | 2014-03-08 | 1 | -7/+5 | |
| | | | | | Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | |||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -1/+1 | |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | |||||
* | Removed TransRealMixin. | Aymeric Augustin | 2014-01-27 | 1 | -17/+0 | |
| | | | | Fixed #21688. Refs https://github.com/django/django/pull/1147. | |||||
* | Fixed some missing/extraneous new line warnings. | Simon Charette | 2014-01-26 | 1 | -1/+0 | |
| | ||||||
* | Moved sys.path-extending decorator to django.test.utils and used throughout ↵ | Carl Meyer | 2014-01-25 | 1 | -0/+12 | |
| | | | | | | test suite. Thanks Aymeric for the suggestion. | |||||
* | Fixed #16905 -- Added extensible checks (nee validation) framework | Russell Keith-Magee | 2014-01-20 | 1 | -0/+20 | |
| | | | | | | | | | This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844. | |||||
* | Renamed AppCache to Apps. | Aymeric Augustin | 2013-12-24 | 1 | -4/+4 | |
| | | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). |