[Zope-CVS] CVS: Products/Ape/lib/apelib/tests - testzope2sql.py:1.1.2.1
Shane Hathaway
shane@zope.com
Thu, 10 Apr 2003 02:27:58 -0400
Update of /cvs-repository/Products/Ape/lib/apelib/tests
In directory cvs.zope.org:/tmp/cvs-serv27277
Modified Files:
Tag: shane-mysql-branch
testzope2sql.py
Log Message:
Quick and dirty attempt at MySQL 4.0 support. It seems to work! MySQL-Max required.
=== Products/Ape/lib/apelib/tests/testzope2sql.py 1.1 => 1.1.2.1 ===
--- Products/Ape/lib/apelib/tests/testzope2sql.py:1.1 Wed Apr 9 23:09:57 2003
+++ Products/Ape/lib/apelib/tests/testzope2sql.py Thu Apr 10 02:27:57 2003
@@ -18,7 +18,7 @@
import unittest
-from apelib.sql.pg import PsycopgConnection
+from apelib.sql.mysql import MySQLConnection
from apelib.zodb3.db import ApeDB
from apelib.zodb3.storage import ApeStorage
from apelib.zodb3.resource import StaticResource
@@ -29,7 +29,7 @@
class Zope2SQLTests (unittest.TestCase, Zope2TestBase):
def openConnection(self):
- return PsycopgConnection('', 'test_temp')
+ return MySQLConnection('', 'test_temp')
def setUp(self):
conn = self.openConnection()