Tuesday, January 29, 2013

Re: Why i can't get the debug informations (in case of error) when i run LiveServerTestCase tests?

Ramiro Morales
On Jan 29, 2013 12:33 PM, "Alessandro Pelliciari" <isac.newton@gmail.com> wrote:
> thanks for the link!
> So Isn't there a way to set DEBUG=True in tests?

No. There isn't (at least with the built-in testing toolbox).

Now, I'm trying to understand why do you rely in the debugging 500 response contents on your tests. Do you screen scrap it to extract  information about the origin of the failure?

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment