Opened 7 years ago

Closed 7 years ago

#6070 closed (fixed)

Document that SITE_ID is no longer required to run all tests

Reported by: anonymous Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I just ran all tests successfully with the following settings.py file:

URL_CONF = "urls"
DATABASE_ENGINE = "sqlite3"

so the mention about "and a SITE_ID setting (any non-zero integer value will do) in order for all the tests to pass." in the Contributing to Django page is wrong.

Btw, why not put the above settings.py file in the tests directory to make it even easier for people to get going and start running tests? Just name it sample_test_settings.py.

Attachments (1)

runtest-docs.patch (903 bytes) - added by beorn 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by beorn

comment:1 Changed 7 years ago by Simon G <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from SITE_ID no longer required to run all tests? to Document that SITE_ID is no longer required to run all tests
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 7 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [6830]

Note: See TracTickets for help on using tickets.
Back to Top