class documentation

A class which knows how to test for the presence of and establish a connection to a relational database.

To enable test cases which use a central, system database, you must create a database named DB_NAME with a user DB_USER and password DB_PASS with full access rights to database DB_NAME.

Method can_connect Return true if this database is present on the system and can be used in a test.
Method getPoolArgs Return a tuple (args, kw) of list and keyword arguments that need to be passed to ConnectionPool to create a connection to this database.
Method makePool Create a connection pool with additional keyword arguments.
Method setUp Undocumented
Method startDB Take any steps needed to bring database up.
Method stopDB Bring database down, if needed.
Constant DB_DIR Undocumented
Constant DB_NAME Undocumented
Constant DB_PASS Undocumented
Constant DB_USER Undocumented
Constant TEST_PREFIX Undocumented
Class Variable can_clear Undocumented
Class Variable can_rollback Undocumented
Class Variable early_reconnect Undocumented
Class Variable escape_slashes Undocumented
Class Variable nulls_ok Undocumented
Class Variable num_iterations Undocumented
Class Variable test_failures Undocumented
Class Variable trailing_spaces_ok Undocumented
def getPoolArgs(self): (source)
def makePool(self, **newkw): (source)

Create a connection pool with additional keyword arguments.

def setUp(self): (source)

Undocumented

def stopDB(self): (source)

Bring database down, if needed.

Undocumented

Value
None

Undocumented

Value
'twisted_test'

Undocumented

Value
'twisted_test'

Undocumented

Value
'twisted_test'
can_rollback: bool = (source)

Undocumented

early_reconnect: bool = (source)

Undocumented

nulls_ok: bool = (source)

Undocumented

test_failures: bool = (source)

Undocumented

trailing_spaces_ok: bool = (source)

Undocumented