Changeset 5331

Show
Ignore:
Timestamp:
09/01/08 11:29:38 (4 months ago)
Author:
Gustavo
Message:

In DBTest, rollback() is now called in the tearDown method. Some tests may have problems if this is not called.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tg/testutil.py

    r5168 r5331  
    2323     
    2424    def tearDown(self): 
     25        self.model.DBSession.rollback() 
    2526        self.model.metadata.drop_all(self.database) 
    2627