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_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
Instance Variable DB_DIR Undocumented
def getPoolArgs(self):
def makePool(self, **newkw):

Create a connection pool with additional keyword arguments.

def setUp(self):

Undocumented

def stopDB(self):

Bring database down, if needed.

DB_NAME: str =

Undocumented

Value
'twisted_test'
DB_PASS: str =

Undocumented

Value
'twisted_test'
DB_USER: str =

Undocumented

Value
'twisted_test'
can_clear: bool =

Undocumented

can_rollback: bool =

Undocumented

early_reconnect: bool =

Undocumented

nulls_ok: bool =

Undocumented

test_failures: bool =

Undocumented

trailing_spaces_ok: bool =

Undocumented

DB_DIR =

Undocumented