[SQL-CVS] SQLObject/tests SQLObjectTest.py,1.10,1.11
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-09-06 02:33:22
|
Update of /cvsroot/sqlobject/SQLObject/tests In directory sc8-pr-cvs1:/tmp/cvs-serv22180/tests Modified Files: SQLObjectTest.py Log Message: Added Firebird support. Untested! Need to figure out how to set up Firebird on my computer... Index: SQLObjectTest.py =================================================================== RCS file: /cvsroot/sqlobject/SQLObject/tests/SQLObjectTest.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** SQLObjectTest.py 1 Aug 2003 01:29:28 -0000 1.10 --- SQLObjectTest.py 6 Sep 2003 02:33:18 -0000 1.11 *************** *** 39,43 **** return SQLiteConnection('data/sqlite.data') ! supportedDatabases = ['mysql', 'postgres', 'sqlite', 'dbm'] class SQLObjectTest(unittest.TestCase): --- 39,49 ---- return SQLiteConnection('data/sqlite.data') ! def firebirdConnection(): ! SQLObjectTest.supportDynamic = False ! SQLObjectTest.supportAuto = False ! SQLObjectTest.supportRestrictedEnum = False ! return FirebirdConnection('localhost', 'data/sotest.gdb') ! ! supportedDatabases = ['mysql', 'postgres', 'sqlite', 'firebird', 'dbm'] class SQLObjectTest(unittest.TestCase): |