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
473bc6f7
Commit
473bc6f7
authored
Jul 12, 2007
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset module-level globals before each test.
parent
991f3944
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lib/python/Testing/ZopeTestCase/testBaseTestCase.py
lib/python/Testing/ZopeTestCase/testBaseTestCase.py
+3
-0
No files found.
lib/python/Testing/ZopeTestCase/testBaseTestCase.py
View file @
473bc6f7
...
...
@@ -405,6 +405,7 @@ class TestRequestGarbage1(base.TestCase):
_sentinel1
.
append
(
'__del__'
)
def
afterSetUp
(
self
):
_sentinel1
[:]
=
[]
self
.
anApp
=
base
.
app
()
self
.
anApp
.
REQUEST
.
_hold
(
self
.
Held
())
...
...
@@ -422,6 +423,7 @@ class TestRequestGarbage2(base.TestCase):
_sentinel2
.
append
(
'__del__'
)
def
afterSetUp
(
self
):
_sentinel2
[:]
=
[]
self
.
app
.
REQUEST
.
_hold
(
self
.
Held
())
def
testClearClosesRequest
(
self
):
...
...
@@ -438,6 +440,7 @@ class TestRequestGarbage3(sandbox.Sandboxed, base.TestCase):
_sentinel3
.
append
(
'__del__'
)
def
afterSetUp
(
self
):
_sentinel3
[:]
=
[]
self
.
app
.
REQUEST
.
_hold
(
self
.
Held
())
def
testClearClosesRequest
(
self
):
...
...
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