PrivexDBTestBase

class tests.base.PrivexDBTestBase(methodName='runTest')[source]

Base class for all privex-db test classes. Includes tearDown() to reset database after each test.

__init__(methodName='runTest')

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp() → None[source]

Hook method for setting up the test fixture before exercising it.

tearDown() → None[source]

Hook method for deconstructing the test fixture after testing it.

Methods

Methods

setUp()

Hook method for setting up the test fixture before exercising it.

tearDown()

Hook method for deconstructing the test fixture after testing it.

Attributes

Attributes