Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
74f5d0cd
Commit
74f5d0cd
authored
Mar 10, 2005
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve left-over 'Zope' vs 'Zope2' issues.
parent
04227d95
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
lib/python/Testing/ZopeTestCase/ZopeLite.py
lib/python/Testing/ZopeTestCase/ZopeLite.py
+1
-1
lib/python/Testing/ZopeTestCase/functional.py
lib/python/Testing/ZopeTestCase/functional.py
+1
-1
lib/python/Testing/ZopeTestCase/sandbox.py
lib/python/Testing/ZopeTestCase/sandbox.py
+1
-1
No files found.
lib/python/Testing/ZopeTestCase/ZopeLite.py
View file @
74f5d0cd
...
...
@@ -20,7 +20,7 @@ import os, sys, time
sys
.
setcheckinterval
(
2500
)
# Shut up if we are not in control of the import process
_quiet
=
sys
.
modules
.
has_key
(
'Zope'
)
_quiet
=
sys
.
modules
.
has_key
(
'Zope
2
'
)
def
_print
(
msg
):
'''Writes 'msg' to stderr and flushes the stream.'''
...
...
lib/python/Testing/ZopeTestCase/functional.py
View file @
74f5d0cd
...
...
@@ -53,7 +53,7 @@ class Functional(sandbox.Sandboxed):
outstream
=
StringIO
()
response
=
Response
(
stdout
=
outstream
,
stderr
=
sys
.
stderr
)
publish_module
(
'Zope'
,
response
=
response
,
environ
=
env
,
extra
=
extra
)
publish_module
(
'Zope
2
'
,
response
=
response
,
environ
=
env
,
extra
=
extra
)
return
ResponseWrapper
(
response
,
outstream
,
path
)
...
...
lib/python/Testing/ZopeTestCase/sandbox.py
View file @
74f5d0cd
...
...
@@ -19,7 +19,7 @@ class Sandboxed:
def
_app
(
self
):
'''Returns the app object for a test.'''
app
=
Zope2
.
app
(
Zope
.
sandbox
().
open
())
app
=
Zope2
.
app
(
Zope
2
.
sandbox
().
open
())
AppZapper
().
set
(
app
)
return
utils
.
makerequest
(
app
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment