Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/runtests.py
Commit message (Collapse)AuthorAgeFilesLines
* Ignored docutils deprecation warnings in runtests.py.Tim Graham2015-10-281-0/+3
|
* Removed RemovedInDjango110Warning.Tim Graham2015-09-241-4/+1
|
* Refs #22789 -- Removed contrib.webdesign per deprecation ↵Tim Graham2015-09-241-5/+0
| | | | timeline.
* Refs #24526 -- Made the django logger handle INFO messages.Tim Graham2015-09-231-1/+2
| | | | | | | Without an explicit 'level', only messages at WARNING or higher are handled. This makes the config consistent with the docs which say, "The django catch-all logger sends all messages at the INFO level or higher to the console."
* Fixed runtests.py message about parallel processes.Aymeric Augustin2015-09-141-2/+3
| | | | | | It didn't work anymore since the commit that enabled test parallelization by default because parallel was equal to 0 at that point.
* Prevented --parallel from crashing on Windows.Aymeric Augustin2015-09-141-4/+1
| | | | | | Since --parallel is documented not to work on Windows, it's better to ignore it and run without parallelization than to crash. For example this could simplify cross-platform test scripts.
* Documented that the parallel test runner doesn't work on ↵Aymeric Augustin2015-09-101-1/+4
| | | | Windows.
* Enabled parallel testing by default in runtests.py.Aymeric Augustin2015-09-101-5/+18
|
* Allowed a port range for the liveserver by default.Aymeric Augustin2015-09-091-1/+1
| | | | This is required for running tests in parallel.
* Changed strategy for removing TMPDIR in runtests.py.Aymeric Augustin2015-09-091-9/+7
| | | | | | | | | Previously, a traceback would be displayed on exit because: - using some multiprocessing features creates a temporary directory - this directory would be inside TMPDIR - multiprocessing would attempt to remove it when a particular object was deallocated, after runtests.py had already removed it along with everything else in TMPDIR.
* Implemented a parallel test runner.Aymeric Augustin2015-09-091-7/+16
|
* Fixed #22634 -- Made the database-backed session ↵Sergey Kolosov2015-08-271-0/+1
| | | | | | | | backends more extensible. Introduced an AbstractBaseSession model and hooks providing the option of overriding the model class used by the session store and the session store class used by the model.
* Fixed #25079 -- Added warning if both TEMPLATES and ↵Daniel Roseman2015-07-131-4/+0
| | | | | | | | | | | | TEMPLATE_* settings are defined. Django ignores the value of the TEMPLATE_* settings if TEMPLATES is also set, which is confusing for users following older tutorials. This change adds a system check that warns if any of the TEMPLATE_* settings have changed from their defaults but the TEMPLATES dict is also non-empty. Removed the TEMPLATE_DIRS from the test settings file; this was marked for removal in 1.10 but no tests fail if it is removed now.
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-7/+7
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Removed unnecessary postgres logic in runtests.pyTim Graham2015-06-031-5/+0
| | | | Obsolete after 36e90d1f45a13f53ce25fdc2d9c04433b835c9af
* Fixed #24526 -- Combined django.request/security loggers ↵Tim Graham2015-04-241-0/+6
| | | | | | with the root logger. Thanks Carl Meyer for review.
* Deprecated legacy GeoManager/GeoQuerySet methodsClaude Paroz2015-04-221-0/+5
|
* Stopped special-casing postgres-specific testsClaude Paroz2015-04-181-2/+0
| | | | Refs #23879.
* Stopped conditional discovery of gis_tests appsClaude Paroz2015-04-181-5/+2
| | | | Refs #23879.
* Guaranteed removal of temporary files during tests.Aymeric Augustin2015-02-231-6/+9
| | | | | | | Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions.
* Fixed #24290 -- Skipped postgres_tests if not running ↵Tim Graham2015-02-171-1/+6
| | | | with PostgreSQL.
* Moved contrib.contenttypes tests out of contrib.Tim Graham2015-02-161-1/+1
|
* Removed explicit pointers to migration modules for ↵Markus Holtermann2015-02-131-2/+0
| | | | | | contrib apps in runtest Thanks Tim Graham for the patch
* Updated docs and runtests.py for removal of tests from ↵Tim Graham2015-02-111-10/+1
| | | | contrib.
* Moved contrib.gis tests out of contrib.Tim Graham2015-02-111-1/+10
|
* Moved contrib.redirects tests out of contrib.Tim Graham2015-02-111-0/+2
|
* Moved contrib.flatpages tests out of contrib.Tim Graham2015-02-111-0/+12
|
* Removed Django 1.7 MIDDLEWARE_CLASSES upgrade check.Tim Graham2015-02-101-2/+0
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-5/+6
|
* Hid Django installation message when verbosity is 0.Aymeric Augustin2015-02-061-1/+2
| | | | | | | This message was introduced to help people figure out quickly when they aren't running the tests against the copy of Django they're editing. There's no reason to display it when verbosity is set to 0. It defaults to 1.
* Removed a useless check in runtests.pyTim Graham2015-02-041-1/+0
| | | | | Added in 3e97535907baa7b57c9bf322871ef6243e2045a9, this check appears to never be triggered today.
* Refactored tests that rely on an ImportError for Python ↵Tim Graham2015-02-041-0/+1
| | | | | | | | | | 3.5 compatibility A change in Python test discovery [1] causes the old packages that raised an error to be discovered; now we use a common directory that's ignored during discovery. Refs #23763. [1] http://bugs.python.org/issue7559
* Fixed #24149 -- Normalized tuple settings to lists.darkryder2015-02-031-3/+3
|
* Advanced deprecation warnings for Django 1.9.Tim Graham2015-01-191-2/+2
|
* Removed obsolete deprecation warning in runtests.pyTim Graham2015-01-181-11/+4
|
* Removed support for initial_data fixtures per ↵Tim Graham2015-01-171-5/+0
| | | | deprecation timeline.
* Fixed #24124 (again) -- Updated tests with new default ↵Aymeric Augustin2015-01-121-5/+2
| | | | | | context_processors. Thanks Collin for the review.
* Fixed #24118 -- Added --debug-sql option for tests.Marc Tamlyn2015-01-121-2/+7
| | | | | | | | | 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.
* Fixed #23891 -- Moved deprecation of IPAddressField to ↵Tim Graham2015-01-011-5/+0
| | | | | | system check framework. Thanks Markus Holtermann for review.
* Raised a warning when using the legacy TEMPLATE_* settings.Aymeric Augustin2014-12-281-3/+22
| | | | All tests now rely on TEMPLATES.
* Fixed #23289 -- Added mock as a test dependency.Tim Graham2014-12-011-0/+10
|
* Fixed #23923 -- Promoted Django's deprecation warnings ↵Tim Graham2014-11-291-2/+2
| | | | to errors in runtests.py
* Fixed #23742 -- Added an option to reverse tests order.wrwrwr2014-11-251-2/+6
| | | | | | | | | 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.
* Fixed #23863 -- Made runtests accept the keepdb option.Simon Charette2014-11-211-2/+7
| | | | refs #20550
* Added HStoreField.Marc Tamlyn2014-11-041-1/+1
| | | | | Thanks to `django-hstore` for inspiration in some areas, and many people for reviews.
* Replaced HAS_SPATIAL_DB by testing database featureClaude Paroz2014-08-191-2/+1
| | | | | | Refs #22632. This should be the base for using more database features to exclude specific backends in GIS tests. Thanks Tim Graham for the review.
* Fixed #23099 -- Removed usage of deprecated initial data ↵Tim Graham2014-08-081-0/+5
| | | | | | in Django's test suite. Thanks Claude Paroz for assistance with debugging the tests.
* Silenced test warning for deprecated IPAddressField.Tim Graham2014-07-241-0/+5
|
* Fixed #22789 -- Deprecated django.contrib.webdesign.Tim Graham2014-07-141-0/+6
| | | | Moved the {% lorem %} tag to built-in tags.
* Removed some apps from ALWAYS_INSTALLED_APPSClaude Paroz2014-06-211-8/+0
|