[SQL-CVS] SQLObject/tests SQLObjectTest.py,1.11,1.12
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-09-06 07:12:10
|
Update of /cvsroot/sqlobject/SQLObject/tests In directory sc8-pr-cvs1:/tmp/cvs-serv26184/tests Modified Files: SQLObjectTest.py Log Message: Tweaked Firebird a little Index: SQLObjectTest.py =================================================================== RCS file: /cvsroot/sqlobject/SQLObject/tests/SQLObjectTest.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** SQLObjectTest.py 6 Sep 2003 02:33:18 -0000 1.11 --- SQLObjectTest.py 6 Sep 2003 07:12:02 -0000 1.12 *************** *** 32,35 **** --- 32,42 ---- return PostgresConnection(db='test') + def pygresConnection(): + SQLObjectTest.supportDynamic = True + SQLObjectTest.supportAuto = True + SQLObjectTest.supportRestrictedEnum = True + SQLObjectTest.supportTransactions = True + return PostgresConnection(db='test', usePygresql=True) + def sqliteConnection(): SQLObjectTest.supportDynamic = False *************** *** 43,47 **** SQLObjectTest.supportAuto = False SQLObjectTest.supportRestrictedEnum = False ! return FirebirdConnection('localhost', 'data/sotest.gdb') supportedDatabases = ['mysql', 'postgres', 'sqlite', 'firebird', 'dbm'] --- 50,54 ---- SQLObjectTest.supportAuto = False SQLObjectTest.supportRestrictedEnum = False ! return FirebirdConnection('localhost', 'data/firebird.gdb') supportedDatabases = ['mysql', 'postgres', 'sqlite', 'firebird', 'dbm'] |