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.
    313313
     314.. note::
     315
     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.
     319
    314320The test database
    315321-----------------
    316322
Back to Top