Ticket #6070: runtest-docs.patch
File runtest-docs.patch, 903 bytes (added by , 17 years ago) |
---|
-
docs/contributing.txt
654 654 ./runtests.py --settings=path.to.django.settings 655 655 656 656 Yes, 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 allthe tests to pass.657 info (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 659 the tests to pass. 660 660 661 661 If you're using the ``sqlite3`` database backend, no further settings are 662 662 needed. A temporary database will be created in memory when running the tests.