* Vincent Bernat <[EMAIL PROTECTED]> [2007-11-09 22:58:33 +0100]:

> Running tests with  Twisted 2.5.0 gives two errors.  The first one seems
> to be  related to the fact  that Trial does not  have assertWarns method
> yet:
> 
> [ERROR]: nevow.test.test_rend.TestPage.test_missingRendererDeprecated
> 
> Traceback: exceptions.AttributeError: 'TestPage' object has no attribute 
> 'assertWarns'
> /home/bernat/src/Nevow-0.9.26/debian/python-nevow/usr/share/python-support/python-nevow/nevow/test/test_rend.py:477:test_missingRendererDeprecated

Unfortunately a version of Twisted has not yet been released with the
assertWarns feature; svn HEAD is necessary for this. You might consider
temporarily patching the source to add a todo attribute for that test.

> I cannot debug the second one:
> 
> [ERROR]: nevow.test.test_athena.LivePageTests.test_pageJsClassDependencies
> 
> Traceback: exceptions.RuntimeError: Unknown class: 
> u'PythonTestSupport.Dependor.PageTest'
> /home/bernat/src/Nevow-0.9.26/debian/python-nevow/usr/share/python-support/python-nevow/nevow/test/test_athena.py:1152:test_pageJsClassDependencies
> /home/bernat/src/Nevow-0.9.26/debian/python-nevow/usr/share/python-support/python-nevow/nevow/athena.py:1059:render_liveglue
> /home/bernat/src/Nevow-0.9.26/debian/python-nevow/usr/share/python-support/python-nevow/nevow/athena.py:752:_getRequiredModules
> /home/bernat/src/Nevow-0.9.26/debian/python-nevow/usr/share/python-support/python-nevow/nevow/athena.py:742:_getModuleForClass
> /home/bernat/src/Nevow-0.9.26/debian/python-nevow/usr/share/python-support/python-nevow/nevow/athena.py:314:getModuleForName

This is caused by files incorrectly omitted during installation;
applying the patch at http://divmod.org/trac/ticket/2388 should be
enough to fix this, I believe.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to