Known subclasses: twisted.test.test_adbapi.FirebirdConnector, twisted.test.test_adbapi.MySQLConnector, twisted.test.test_adbapi.PsycopgConnector, twisted.test.test_adbapi.PyPgSQLConnector, twisted.test.test_adbapi.PySQLite2Connector, twisted.test.test_adbapi.SQLite3Connector

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 setUp Undocumented
Method can_connect Return true if this database is present on the system and can be used in a test.
Method startDB Take any steps needed to bring database up.
Method stopDB Bring database down, if needed.
Method makePool Create a connection pool with additional keyword arguments.
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.
def setUp(self):
Undocumented
def stopDB(self):

Bring database down, if needed.

def makePool(self, **newkw):

Create a connection pool with additional keyword arguments.

def getPoolArgs(self):
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.