Ticket #6070: runtest-docs.patch

File runtest-docs.patch, 903 bytes (added by beorn, 8 years ago)
  • docs/contributing.txt

     
    654654    ./runtests.py --settings=path.to.django.settings
    655655
    656656Yes, the unit tests need a settings module, but only for database connection
    657 info, with the ``DATABASE_ENGINE`` setting. You will also need a ``ROOT_URLCONF``
    658 setting (its value is ignored; it just needs to be present) and a ``SITE_ID``
    659 setting (any non-zero integer value will do) in order for all the tests to pass.
     657info (with the ``DATABASE_ENGINE`` setting) and the ``ROOT_URLCONF`` setting
     658(its value is ignored; it just needs to be present) in order for all
     659the tests to pass.
    660660
    661661If you're using the ``sqlite3`` database backend, no further settings are
    662662needed. A temporary database will be created in memory when running the tests.
Back to Top