Package schrodinger :: Package test :: Module custom_test_classes :: Class ProjectTestCase
[hide private]
[frames] | no frames]

Class ProjectTestCase

unittest.TestCase --+
                    |
                   ProjectTestCase

A unit test class that uses a project. A new copy of the project will be created for each test.

The subclass must define the project to read in as class variable PROJ_DIR. Each test will then have access to a schrodinger.project.Project object as self.proj. The setUp and tearDown methods in any subclass must call super().setUp and super().tearDown.

Instance Methods [hide private]
 
setUp(self)
 
tearDown(self)
Class Methods [hide private]
 
setUpClass(cls)
Class Variables [hide private]
  PROJ_DIR = None
hash(x)