Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zodb
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joshua
zodb
Commits
687df1f7
Commit
687df1f7
authored
May 12, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ZODB.tests.util setup code, which has logic to wait for processes
to die when removing test directories.
parent
5c1767ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+2
-9
No files found.
src/ZEO/tests/testZEO.py
View file @
687df1f7
...
...
@@ -26,9 +26,6 @@ import time
import
unittest
import
shutil
import
zope.testing.setupstack
from
zope.testing
import
doctest
# ZODB test support
import
ZODB
import
ZODB.tests.util
...
...
@@ -820,10 +817,6 @@ transaction, we'll get a result:
test_classes
=
[
FileStorageTests
,
MappingStorageTests
,
DemoStorageTests
,
BlobAdaptedFileStorageTests
,
BlobWritableCacheTests
]
def
zeoFanOutSetup
(
test
):
zope
.
testing
.
setupstack
.
setUpDirectory
(
test
)
def
test_suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
doctest
.
DocTestSuite
(
setUp
=
ZODB
.
tests
.
util
.
setUp
,
...
...
@@ -831,8 +824,8 @@ def test_suite():
suite
.
addTest
(
doctest
.
DocFileSuite
(
'registerDB.test'
))
suite
.
addTest
(
doctest
.
DocFileSuite
(
'zeo-fan-out.test'
,
setUp
=
zeoFanOutSetu
p
,
tearDown
=
zope
.
testing
.
setupstack
.
tearDown
,
setUp
=
ZODB
.
tests
.
util
.
setU
p
,
tearDown
=
ZODB
.
tests
.
util
.
tearDown
,
),
)
for
klass
in
test_classes
:
...
...
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