summaryrefslogtreecommitdiff
path: root/tests/test_runner/tests.py
AgeCommit message (Collapse)Author
2017-02-10Added multi_db=True to test cases that access the 'other' db connection.Tim Graham
Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683.
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-28Refs #25415 -- Fixed/silenced check errors in Django's test suite.Adam Chainz
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-08Fixed #27170 -- Added DatabaseWrapper class attributes to ease subclassing.Chris Jerdonek
2016-08-17Fixed #26840 -- Added test.utils.setup/teardown_databases().Andreas Pelme
2016-06-28Replaced use of TestCase.fail() with assertRaises().Tim Graham
Also removed try/except/fail antipattern that hides exceptions.
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-14Fixed #25999 -- Removed promotion of RemovedInNextVersionWarning to loud by ↵Tim Graham
default.
2015-09-29Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and ↵Tim Graham
StringOrigin. Thanks Simon Charette for the DeprecationInstanceCheck class.
2015-09-23Removed RemovedInDjango110Warning.Tim Graham
2015-09-09Cloned databases for running tests in parallel.Aymeric Augustin
2015-09-05Moved an import to the toplevel.Aymeric Augustin
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-05-09Mocked db.connections in test_runner testsClaude Paroz
2015-03-25Fixed #24394 -- Allowed running tests with empty default dictionary.Andrei Kulakov
2015-02-17Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵Tim Graham
contains non-ASCII characters.
2015-02-10Disallowed importing concrete models without an application.Aymeric Augustin
Removed fragile algorithm to find which application a model belongs to. Fixed #21680, #21719. Refs #21794.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-01Fixed #23289 -- Added mock as a test dependency.Tim Graham
2014-11-24Changed test_runner imports to name objects imported from test.runner.wrwrwr
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
2014-10-24Fixed #23652 -- Restored database name after destroying test databaseClaude Paroz
Thanks Bjarkias for the report.
2014-10-21Removed unneeded override_system_checksClaude Paroz
Refs #23685.
2014-09-24Fixed #23421 -- Corrected TEST SERIALIZE setting.Tim Graham
Thanks gkoller for the report.
2014-06-14Converted test management command to argparseClaude Paroz
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.
2014-06-08Fix broken alias testing testAndrew Godwin
2014-06-05Fixed #20550 -- Added keepdb argument to destroy_test_dbGreg Chapple
2014-05-28Fixed #20550 -- Added ability to preserve test db between runsGreg Chapple
2014-03-21Removed django.test.simple and django.test._doctest per deprecation timeline.Tim Graham
refs #17365, #17366, #18727.
2014-03-09Fixed #22237 -- Removed some warnings in the test suiteClaude Paroz
Thanks Aymeric Augustin for the report.
2014-03-08Avoided changing raw DeprecationWarning filter behaviorClaude Paroz
Refs #21188. Now pure Python DeprecationWarning visibility should be back to Python defaults.
2014-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-01-20Fixed #16905 -- Added extensible checks (nee validation) frameworkRussell Keith-Magee
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.
2013-12-31Made DeprecationDisplayTest more robustClaude Paroz
2013-12-22Made AppConfig importable from django.apps.Aymeric Augustin
It is a public API.
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
2013-12-22Added the ability to supply custom app configs.Aymeric Augustin
2013-12-22Implemented two-stage app-cache population.Aymeric Augustin
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.
2013-12-17Moved the new app cache inside core.Aymeric Augustin
2013-12-17Refactored old test runner to handle apps without a models module.Aymeric Augustin
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-18Fixed #21287 -- Fixed E123 pep8 warningsAlasdair Nicol
2013-09-05Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.Eric Boersma
The documentation and comments now all use 'an' to refer to the word SQL and not 'a'.