Commit 74f5d0cd authored by Stefan H. Holek's avatar Stefan H. Holek

Resolve left-over 'Zope' vs 'Zope2' issues.

parent 04227d95
...@@ -20,7 +20,7 @@ import os, sys, time ...@@ -20,7 +20,7 @@ import os, sys, time
sys.setcheckinterval(2500) sys.setcheckinterval(2500)
# Shut up if we are not in control of the import process # Shut up if we are not in control of the import process
_quiet = sys.modules.has_key('Zope') _quiet = sys.modules.has_key('Zope2')
def _print(msg): def _print(msg):
'''Writes 'msg' to stderr and flushes the stream.''' '''Writes 'msg' to stderr and flushes the stream.'''
......
...@@ -53,7 +53,7 @@ class Functional(sandbox.Sandboxed): ...@@ -53,7 +53,7 @@ class Functional(sandbox.Sandboxed):
outstream = StringIO() outstream = StringIO()
response = Response(stdout=outstream, stderr=sys.stderr) response = Response(stdout=outstream, stderr=sys.stderr)
publish_module('Zope', response=response, environ=env, extra=extra) publish_module('Zope2', response=response, environ=env, extra=extra)
return ResponseWrapper(response, outstream, path) return ResponseWrapper(response, outstream, path)
......
...@@ -19,7 +19,7 @@ class Sandboxed: ...@@ -19,7 +19,7 @@ class Sandboxed:
def _app(self): def _app(self):
'''Returns the app object for a test.''' '''Returns the app object for a test.'''
app = Zope2.app(Zope.sandbox().open()) app = Zope2.app(Zope2.sandbox().open())
AppZapper().set(app) AppZapper().set(app)
return utils.makerequest(app) return utils.makerequest(app)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment