#901: py23 test failures
------------------------------------------+---------------------------------
Reporter: HalWine <[EMAIL PROTECTED]> | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 1.0b1
Component: TurboGears | Version: 0.9a6
Severity: normal | Keywords: py23 nosetests
------------------------------------------+---------------------------------
Under py23, something definately isn't working as expected in the
tests.
from one specific test:
{{{
$ nosetests turbogears/widgets/tests/test_forms.py
ERROR: turbogears.widgets.tests.test_forms.test_nested_variables
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.3/site-packages/nose-0.9.0a2-py2.3.egg/nose/case.py",
line 52, in runTest
self.testFunc()
File
"/home/hwine/lib/python2.3/TurboGears-0.9a6-
py2.3.egg/turbogears/widgets/tests/test_forms.py",
line 176, in test_nested_variables
assert newroot.foo
!AttributeError: 'NestedController' object has no attribute 'foo'
}}}
I've instrumented the code, and the method !NestedController.checkform
is not called in py23, but is in py24 (which passes the test).
My python meta-programming is too weak to diagnosis this. If someone
can point me to the issue, I can apply at the other locations. Here's
the relevant source code starts at
http://trac.turbogears.org/turbogears/browser/tags/0.9a6/turbogears/widgets/tests/test_forms.py#L154
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/901>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---