Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/test_runner/tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25466 -- Added backwards compatibility aliases ↵Tim Graham2015-09-301-3/+3
| | | | | | for LoaderOrigin and StringOrigin. Thanks Simon Charette for the DeprecationInstanceCheck class.
* Removed RemovedInDjango110Warning.Tim Graham2015-09-241-2/+3
|
* Cloned databases for running tests in parallel.Aymeric Augustin2015-09-091-2/+2
|
* Moved an import to the toplevel.Aymeric Augustin2015-09-051-5/+5
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Mocked db.connections in test_runner testsClaude Paroz2015-05-091-91/+69
|
* Fixed #24394 -- Allowed running tests with empty default ↵Andrei Kulakov2015-03-251-1/+16
| | | | dictionary.
* Refs #24324 -- Fixed Python 2 test failures when path to ↵Tim Graham2015-02-181-1/+2
| | | | Django source contains non-ASCII characters.
* Disallowed importing concrete models without an application.Aymeric Augustin2015-02-101-20/+1
| | | | | | Removed fragile algorithm to find which application a model belongs to. Fixed #21680, #21719. Refs #21794.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+5
|
* Fixed #23289 -- Added mock as a test dependency.Tim Graham2014-12-011-7/+3
|
* Changed test_runner imports to name objects imported ↵wrwrwr2014-11-241-12/+13
| | | | from test.runner.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-1/+1
| | | | Django test suite.
* Fixed #23652 -- Restored database name after destroying ↵Claude Paroz2014-10-241-0/+13
| | | | | | test database Thanks Bjarkias for the report.
* Removed unneeded override_system_checksClaude Paroz2014-10-211-4/+0
| | | | Refs #23685.
* Fixed #23421 -- Corrected TEST SERIALIZE setting.Tim Graham2014-09-241-30/+65
| | | | Thanks gkoller for the report.
* Converted test management command to argparseClaude Paroz2014-06-141-6/+6
| | | | | | | Keeping backwards compatibility with test_runner.option_list is tricky and would imply transforming an optparse.Option to an argparse.Action. I choose to introduce a backwards incompatible change because it only affects testing, not runtime behavior.
* Fix broken alias testing testAndrew Godwin2014-06-091-2/+2
|
* Fixed #20550 -- Added keepdb argument to destroy_test_dbGreg Chapple2014-06-061-1/+1
|
* Fixed #20550 -- Added ability to preserve test db ↵Greg Chapple2014-05-281-1/+1
| | | | between runs
* Removed django.test.simple and django.test._doctest per ↵Tim Graham2014-03-211-23/+1
| | | | | | deprecation timeline. refs #17365, #17366, #18727.
* Fixed #22237 -- Removed some warnings in the test suiteClaude Paroz2014-03-091-4/+5
| | | | Thanks Aymeric Augustin for the report.
* Avoided changing raw DeprecationWarning filter behaviorClaude Paroz2014-03-081-3/+4
| | | | | Refs #21188. Now pure Python DeprecationWarning visibility should be back to Python defaults.
* Fixed many typos in comments and docstrings.Rodolfo Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-201-1/+4
| | | | | | | | | | | framework 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.
* Made DeprecationDisplayTest more robustClaude Paroz2013-12-311-1/+3
|
* Made AppConfig importable from django.apps.Aymeric Augustin2013-12-221-2/+2
| | | | It is a public API.
* Moved apps back in the toplevel django namespace.Aymeric Augustin2013-12-221-2/+2
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Added the ability to supply custom app configs.Aymeric Augustin2013-12-221-2/+2
|
* Implemented two-stage app-cache population.Aymeric Augustin2013-12-221-10/+6
| | | | | | | | | | | | First stage imports app modules. It doesn't catch import errors. This matches the previous behavior and keeps the code simple. Second stage import models modules. It catches import errors and retries them after walking through the entire list once. This matches the previous behavior and seems useful. populate_models() is intended to be equivalent to populate(). It isn't wired yet. That is coming in the next commit.
* Moved the new app cache inside core.Aymeric Augustin2013-12-171-2/+2
|
* Refactored old test runner to handle apps without a ↵Aymeric Augustin2013-12-171-9/+14
| | | | models module.
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+0
|
* Fix all violators of E231Alex Gaynor2013-10-261-7/+7
|
* Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol2013-10-181-1/+1
|
* Fixed #21035 -- Changed docs to treat the acronym SQL ↵Eric Boersma2013-09-061-1/+1
| | | | | | | phonetically. The documentation and comments now all use 'an' to refer to the word SQL and not 'a'.
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Deprecated django.utils.importlibClaude Paroz2013-07-291-1/+1
| | | | This was a shim for pre-Python 2.7 support.
* Fixed #20746 -- Removed Python 2.6 specific code/docsTim Graham2013-07-141-2/+0
|
* Fixed #20681 -- Prevented teardown_databases from ↵Tim Graham2013-07-131-0/+34
| | | | | | attempting to tear down aliases Thanks simonpercivall.
* Fixed #19940 -- Made test.runner.setup_databases ↵Tim Graham2013-07-051-0/+25
| | | | | | properly handle aliases for default db. Thanks simonpercivall.
* Removed tests for django.utils.unittest vs. unittest.Aymeric Augustin2013-07-011-2/+3
| | | | | | | | Silenced warnings caused by the deprecation of django.utils.unittest. Thanks Preston Timmons and Carl Meyer for their advice. Fixed #20680.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-2/+2
| | | | Refs #20680.
* Advanced deprecation warnings for Django 1.7.Aymeric Augustin2013-06-291-2/+2
|
* Fixed #20603 -- Made the test suite faster.Aymeric Augustin2013-06-141-2/+4
| | | | | | By avoiding to run syncdb with the full set of test models. Thanks Anssi for the idea.
* Fixed #20548 -- Removed all PendingDeprecationWarnings ↵Marc Tamlyn2013-06-141-6/+8
| | | | from django test suite
* Defined available_apps in relevant tests.Aymeric Augustin2013-06-101-0/+2
| | | | Fixed #20483.
* Fixed #17365, #17366, #18727 -- Switched to discovery ↵Carl Meyer2013-05-111-12/+13
| | | | | | | | | | | test runner. Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
* Fixed #18985 -- ensure module level deprecations are ↵Preston Holmes2013-03-251-1/+2
| | | | | | | displayed Also don't compete with -W CLI option. Thanks to Aymeric Augustin for the catch, and Claude Paroz for the patch.
* Changed test_runner tests to use full python path for ↵Florian Apolloner2013-02-261-5/+6
| | | | settings files.