Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
1a4f1414
Commit
1a4f1414
authored
Nov 16, 2008
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing test cleanup
parent
61c4ae76
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
0 deletions
+10
-0
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+5
-0
src/ZEO/tests/test_cache.py
src/ZEO/tests/test_cache.py
+1
-0
src/ZODB/FileStorage/zconfig.txt
src/ZODB/FileStorage/zconfig.txt
+1
-0
src/ZODB/scripts/referrers.txt
src/ZODB/scripts/referrers.txt
+3
-0
No files found.
src/ZEO/tests/testZEO.py
View file @
1a4f1414
...
...
@@ -1014,6 +1014,8 @@ def tpc_finish_error():
... self.client = client
... def connect(self, sync=1):
... self.client.notifyConnected(Connection(self.client))
... def close(self):
... pass
>>> class StorageServer:
... should_fail = True
...
...
@@ -1089,6 +1091,9 @@ def tpc_finish_error():
... else: print "Should have failed"
finish
connection closed
>>> cs.close()
connection closed
"""
slow_test_classes
=
[
...
...
src/ZEO/tests/test_cache.py
View file @
1a4f1414
...
...
@@ -73,6 +73,7 @@ class CacheTests(ZODB.tests.util.TestCase):
self
.
cache
=
ZEO
.
cache
.
ClientCache
(
size
=
1024
**
2
)
def
tearDown
(
self
):
self
.
cache
.
close
()
if
self
.
cache
.
path
:
os
.
remove
(
self
.
cache
.
path
)
ZODB
.
tests
.
util
.
TestCase
.
tearDown
(
self
)
...
...
src/ZODB/FileStorage/zconfig.txt
View file @
1a4f1414
...
...
@@ -128,6 +128,7 @@ pack-gc
>>> fs.pack(time.time(), 42, gc=True)
42 True True
>>> fs.close()
...
...
src/ZODB/scripts/referrers.txt
View file @
1a4f1414
...
...
@@ -38,3 +38,6 @@ Now we'll get the storage and compute the referrers:
>>> referrers[boid] == [(roid, s1), (aoid, s2)]
True
.. Cleanup
>>> db.close()
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