Ticket #3051: testing_skipping_manage_py.diff

File testing_skipping_manage_py.diff, 611 bytes (added by Rupe, 5 years ago)

Added a note about setup_test_environment()

  • docs/topics/testing.txt

    311311but not gracefully. No details of the tests run before the interruption will
    312312be reported, and any test databases created by the run will not be destroyed.
     314.. note::
     316You can also skip the ``manage.py`` file by including ``from django.test.utils
     317import setup_test_environment`` and calling ``setup_test_environment()`` before
     318running your tests.
    314320The test database
Back to Top