summaryrefslogtreecommitdiff
path: root/tests/test_runner
AgeCommit message (Collapse)Author
2018-12-20[2.1.x] Removed unused imports in tests/test_runner/tests.py.Tim Graham
2018-12-17[2.1.x] Fixed #30023 -- Prevented SQLite schema alterations while foreign ↵Simon Charette
key checks are enabled. Prior to this change foreign key constraint references could be left pointing at tables dropped during operations simulating unsupported table alterations because of an unexpected failure to disable foreign key constraint checks. SQLite3 does not allow disabling such checks while in a transaction so they must be disabled beforehand. Thanks ezaquarii for the report and Carlton and Tim for the review. Backport of 315357ad25a6590e7f4564ec2e56a22132b09001 from master.
2018-02-13Fixed #29106 -- Made DiscoverRunner display selected test tags.Sanyam Khurana
2018-01-08Fixed #28869 -- Made tagged test classes and methods inherit tags from parents.Will Ayd
2018-01-04Reorganized test_runner test apps.Tim Graham
2017-11-17Refs #28814 -- Fixed test_runner failure on Python 3.7.Tim Graham
Due to https://bugs.python.org/issue30399.
2017-09-25Fixed #27857 -- Dropped support for Python 3.4.Tim Graham
2017-07-05Fixed #28360 -- Fixed test runner crash with --debug-sql on fail/error in ↵Sergey Fedoseev
subTest.
2017-05-04Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.Tim Graham
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-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
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 most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
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-10-06Fixed #27301 -- Prevented exceptions that fail unpickling from crashing the ↵Adam Wróbel
parallel test runner.
2016-09-08Fixed #27170 -- Added DatabaseWrapper class attributes to ease subclassing.Chris Jerdonek
2016-08-26Fixed #26942 -- Added support for subtests during parallel testing.Chris Jerdonek
2016-08-17Fixed #26840 -- Added test.utils.setup/teardown_databases().Andreas Pelme
2016-08-12Fixed #27008 -- Added --debug-mode option to DiscoverRunner.Chris Jerdonek
2016-08-09Fixed #27035 -- Eased changing settings.DEBUG for DiscoverRunner.Chris Jerdonek
2016-08-04Fixed #26981 -- Added DiscoverRunner.get_test_runner_kwargs().Chris Jerdonek
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-02-17Fixed #25735 -- Added support for test tags to DiscoverRunner.Jakub Paczkowski
Thanks Carl Meyer, Claude Paroz, and Simon Charette for review.
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-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
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-17Refs #14091 -- Fixed connection.queries on SQLite.Aymeric Augustin
2015-09-14Fixed #25377 -- Changed Count queries to execute COUNT(*) instead of COUNT('*').Adam Chainz
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-09-09Cloned databases for running tests in parallel.Aymeric Augustin
2015-09-05Moved an import to the toplevel.Aymeric Augustin
2015-07-27Fixed #25110 -- Fixed a test_runner test isolation regression.Joseph Gordon
Thanks claudep for the patch.
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-11Moved contrib.gis tests out of contrib.Tim Graham
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
2015-01-23Fixed test_runner test failure on Python 3.5; refs #23763.Tim Graham
Python change is http://bugs.python.org/issue22032
2015-01-12Fixed #24118 -- Added --debug-sql option for tests.Marc Tamlyn
Added a --debug-sql option for tests and runtests.py which outputs the SQL logger for failing tests. When combined with --verbosity=2, it also outputs the SQL for passing tests. Thanks to Berker, Tim, Markus, Shai, Josh and Anssi for review and discussion.