Re: Fwd: Fwd: Feature request: log capture during testing

2011-05-15 Thread Chris Withers
On 14/05/2011 23:02, Luke Plant wrote: This is a slightly confusing set of messages to be forwarded to django-devs - please remember that django-devs has over 6000 subscribers who probably don't want to have to put together fragments of a private conversation! One forwarded message from the dja

Re: Fwd: Fwd: Feature request: log capture during testing

2011-05-14 Thread Luke Plant
self, I consider it a bug that this doesn't work as you expect! > > Can you email me a sample unit test that doesn't work properly and I'll > get this fixed? > > cheers, > > Chris > > Original Message > Subject: Feature reques

Fwd: Fwd: Feature request: log capture during testing

2011-05-14 Thread Chris Withers
I'll get this fixed? cheers, Chris Original Message ---- Subject: Feature request: log capture during testing Date: Fri, 29 Apr 2011 12:20:25 -0700 (PDT) From: Jody McIntyre Reply-To: django-developers@googlegroups.com To: Django developers Now that Django has logging supp

Re: Feature request: log capture during testing

2011-04-30 Thread sebastien piquemal
Have you tried Nose ? http://somethingaboutorange.com/mrl/projects/nose/1.0.0/ https://github.com/jbalogh/django-nose/commits/master I think it captures the logs quite well ... On Apr 29, 10:20 pm, Jody McIntyre wrote: > Now that Django has logging support using the Python logging module, > it wo

Feature request: log capture during testing

2011-04-29 Thread Jody McIntyre
Now that Django has logging support using the Python logging module, it would be nice if the unit testing framework included the ability to capture logs, similarly to the mail.outbox functionality. I am aware of the log_capture decorator in the testfixtures package, and we are using it for some te