aiida.tests package

Submodules

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

Bases: unittest.case.TestCase

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.