def makeSQLTests(base, suffix, globals):
 connectors = [GadflyConnector, SQLiteConnector, PyPgSQLConnector, PsycopgConnector, MySQLConnector, FirebirdConnector]
 for connclass in connectors:
  name = (connclass.TEST_PREFIX + suffix)
  klass = new.classobj(name, (connclass, base, unittest.TestCase), base.__dict__)
  globals[name] = klass

def makeSQLTests ( base , suffix , globals ) : connectors = [ GadflyConnector , SQLiteConnector , PyPgSQLConnector , PsycopgConnector , MySQLConnector , FirebirdConnector ] for connclass in connectors : name = ( connclass . TEST_PREFIX + suffix ) klass = new . classobj ( name , ( connclass , base , unittest . TestCase ) , base . __dict__ ) globals [ name ] = klass
make a test case for every db connector which can connect .