aiida.tests package


class aiida.tests.util.DbTestCase(methodName='runTest')[source]


Automatically takes care of the setUpClass and TearDownClass, when needed.

This class can be used by any unit test that requires database interaction.

__module__ = 'aiida.tests.util'
classmethod setUpClass()[source]

Hook method for setting up class fixture before running tests in the class.

classmethod tearDownClass()[source]

Hook method for deconstructing the class fixture after running all tests in the class.