Package turbogears :: Module testutil :: Class AbstractDBTest

Class AbstractDBTest

source code

unittest.TestCase --+
                    |
                   AbstractDBTest

A database enabled unit testing class.

Creates and destroys your database before and after each unit test. You must set the model attribute in order for this class to function correctly.

Instance Methods
 
setUp(self) source code
 
tearDown(self) source code
Class Variables
  model = None
hash(x)