[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests -
test_zopepublication.py:1.20.4.1
Jim Fulton
jim at zope.com
Fri Jan 16 10:44:03 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/publication/tests
In directory cvs.zope.org:/tmp/cvs-serv19071/src/zope/app/publication/tests
Modified Files:
Tag: zope3-zodb3-devel-branch
test_zopepublication.py
Log Message:
Various changes to get tests passing.
=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.20 => 1.20.4.1 ===
--- 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 Jan 16 10:43:32 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