Ticket #1901 (new defect)

Opened 1 month ago

SqlObject must be installed even if I use SQLAlchemy

Reported by: Gustavo Assigned to: anonymous
Priority: normal Milestone:
Component: TurboGears Version: 1.0.5
Severity: normal Keywords:
Cc:

Description

I use SQLAlchemy, but if SqlObject is not installed I get this exception:

======================================================================
ERROR: Object creation should set the name
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gustavo/animador/animador/tests/model.py", line 38, in setUp
    super(TestMember, self).setUp()
  File "/usr/lib/python2.5/site-packages/TurboGears-1.0.5-py2.5.egg/turbogears/testutil.py", line 184, in setUp
    sqlobject.SQLObject) and item != sqlobject.SQLObject \
AttributeError: 'NoneType' object has no attribute 'SQLObject'