[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests -
test_browserpublication.py:1.23 test_zopepublication.py:1.21
Fred L. Drake, Jr.
fred at zope.com
Fri Feb 20 11:57:58 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/publication/tests
In directory cvs.zope.org:/tmp/cvs-serv22507/src/zope/app/publication/tests
Modified Files:
test_browserpublication.py test_zopepublication.py
Log Message:
update to replace ZODB 4 with ZODB 3
=== Zope3/src/zope/app/publication/tests/test_browserpublication.py 1.22 => 1.23 ===
--- Zope3/src/zope/app/publication/tests/test_browserpublication.py:1.22 Wed Jan 14 17:55:23 2004
+++ Zope3/src/zope/app/publication/tests/test_browserpublication.py Fri Feb 20 11:57:27 2004
@@ -40,7 +40,7 @@
from zope.app.publication.tests.test_zopepublication \
import BasePublicationTests as BasePublicationTests_
-from persistence import Persistent
+from persistent import Persistent
def foo():
"I am an otherwise empty docstring."
=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.20 => 1.21 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.20 Thu Nov 27 08:59:23 2003
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py Fri Feb 20 11:57:27 2004
@@ -18,8 +18,7 @@
from zope.interface.verify import verifyClass
from zope.interface import implements, classImplements, implementedBy
-from zodb.db import DB
-from zodb.storage.mapping import MappingStorage
+from ZODB.tests.util import DB
from zope.app.tests.placelesssetup import PlacelessSetup
from zope.app.tests import ztapi
@@ -55,11 +54,12 @@
def setUp(self):
super(BasePublicationTests, self).setUp()
- ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets, HTTPCharsets)
+ ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
+ HTTPCharsets)
self.policy = setSecurityPolicy(
simplepolicies.PermissiveSecurityPolicy()
)
- self.db = DB(MappingStorage("foo"))
+ self.db = DB()
connection = self.db.open()
root = connection.root()
More information about the Zope3-Checkins
mailing list