Paul McNett wrote:
> Cool, sounds good now I need to test it!

Ok, I figured I'd run the unit tests as a first step. :)

======================================================================
ERROR: testChildren (__main__.Test_dBizobj)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test_dBizobj.py", line 340, in testChildren
     bizChild.delete()
   File "/home/pmcnett/dabo-full/trunk/dabo/biz/dBizobj.py", line 467, 
in delete
     isTransactionManager = app.getTransactionToken(self)
AttributeError: 'NoneType' object has no attribute 'getTransactionToken'

======================================================================
ERROR: testDeleteNewSave (__main__.Test_dBizobj)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test_dBizobj.py", line 211, in testDeleteNewSave
     biz.delete()
   File "/home/pmcnett/dabo-full/trunk/dabo/biz/dBizobj.py", line 467, 
in delete
     isTransactionManager = app.getTransactionToken(self)
AttributeError: 'NoneType' object has no attribute 'getTransactionToken'

======================================================================
ERROR: testMementos (__main__.Test_dBizobj)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test_dBizobj.py", line 272, in testMementos
     biz.save()
   File "/home/pmcnett/dabo-full/trunk/dabo/biz/dBizobj.py", line 326, 
in save
     isTransactionManager = app.getTransactionToken(self)
AttributeError: 'NoneType' object has no attribute 'getTransactionToken'

======================================================================
ERROR: test_RowCount (__main__.Test_dBizobj)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "test_dBizobj.py", line 136, in test_RowCount
     biz.delete()
   File "/home/pmcnett/dabo-full/trunk/dabo/biz/dBizobj.py", line 467, 
in delete
     isTransactionManager = app.getTransactionToken(self)
AttributeError: 'NoneType' object has no attribute 'getTransactionToken'

----------------------------------------------------------------------
Ran 25 tests in 0.317s

FAILED (errors=4)


I guess we should check for the app being not None first?


-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to