Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#15195 closed (wontfix)

TestFramework doesn't set DEBUG to TRUE

Reported by: jbcurtin Owned by: jbcurtin
Component: Testing framework Version: 1.2
Severity: Keywords: test conf debug settings
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Qucikfix:
from django.conf import settings
settings.DEBUG = True
Feel free to tell me were I need to go to register for an account to make the change myself and submit it to the code base.

Change History (2)

comment:1 by Ramiro Morales, 14 years ago

Resolution: wontfix
Status: newclosed

This is by design: http://docs.djangoproject.com/en/dev/topics/testing/#other-test-conditions

Regardless of the value of the DEBUG setting in your configuration file, all Django tests run with DEBUG=False. This is to ensure that the observed output of your code matches what will be seen in a production setting.

comment:2 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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