List Info

Thread: h.log disturbs nosetests




h.log disturbs nosetests
user name
2006-09-30 23:58:38
Hi,

Using all the defaults, I run nosetests on a controller with
h.log()
call and get this error:

AssertionError: No errors should be written (...my log
output here...)

From what I read in Logging section
(http://py
lonshq.com/docs/0.9.2/logging.html), I can redirect
error
output to a file with paster. Is there any way to do the
same having
only an application object?
Thank you!

Sergey.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "pylons-discuss" group.
To post to this group, send email to pylons-discussgooglegroups.com
To unsubscribe from this group, send email to
pylons-discuss-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )