#973: weird error running nosetests
------------------------+---------------------------------------------------
Reporter: max | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a5
Severity: normal | Keywords:
------------------------+---------------------------------------------------
I tried to run nosetests with code coverage turned on and got the
following traceback:
{{{
======================================================================
ERROR: test module tests in D:\Projects\Spaca\spaca
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python24\lib\site-packages\nose-0.9.0b2-
py2.4.egg\nose\suite.py", line 44, in run
self.setUp()
File "c:\python24\lib\site-packages\nose-0.9.0b2-
py2.4.egg\nose\suite.py", line 187, in setUp
self.module = _import(self.moduleName, [self.path], self.conf)
File "c:\python24\lib\site-packages\nose-0.9.0b2-
py2.4.egg\nose\importer.py", line 93, in _import
mod = load_module(fqname, fh, filename, desc)
File "D:\Projects\Spaca\spaca\tests\__init__.py", line 25, in ?
from turbogears.config import update_config
File "d:\projects\3rd-party\turbogears-1.0\turbogears\__init__.py", line
8, in ?
from turbogears import controllers, view, database, validators,
command, \
File "d:\projects\3rd-
party\turbogears-1.0\turbogears\widgets\__init__.py", line 7, in ?
from turbogears.widgets.links import *
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\links.py",
line 3, in ?
class Tabber(Widget):
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\links.py",
line 10, in Tabber
location=js_location.bodytop),
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\meta.py",
line 142, in widget_init
func(self, *args, **kw)
File "d:\projects\3rd-party\turbogears-1.0\turbogears\widgets\base.py",
line 531, in __init__
if location not in js_location:
File "d:\projects\3rd-party\turbogears-1.0\turbogears\util.py", line 39,
in __cmp__
assert self.EnumType is other.EnumType, "Only values from the same
enum are comparable"
AttributeError: 'EnumValue' object has no attribute 'EnumType'
----------------------------------------------------------------------
Ran 0 tests in 5.829s
}}}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/973>
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
-~----------~----~----~----~------~----~------~--~---