mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
[3.2.x] Refs #32178 -- Doc'd DatabaseFeatures.django_test_skips/django_test_expected_failures in contributing guide.
Backport of ca34db4650 from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
bac416972d
commit
ce130749d5
@@ -153,7 +153,10 @@ The included settings module (``tests/test_sqlite.py``) allows you to run the
|
||||
test suite using SQLite. If you want to run the tests using a different
|
||||
database, you'll need to define your own settings file. Some tests, such as
|
||||
those for ``contrib.postgres``, are specific to a particular database backend
|
||||
and will be skipped if run with a different backend.
|
||||
and will be skipped if run with a different backend. Some tests are skipped or
|
||||
expected failures on a particular database backend (see
|
||||
``DatabaseFeatures.django_test_skips`` and
|
||||
``DatabaseFeatures.django_test_expected_failures`` on each backend).
|
||||
|
||||
To run the tests with different settings, ensure that the module is on your
|
||||
:envvar:`PYTHONPATH` and pass the module with ``--settings``.
|
||||
|
||||
Reference in New Issue
Block a user