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
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
ZEO
Commits
6e61ad9c
Commit
6e61ad9c
authored
Apr 01, 2003
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization
parent
1f86dd15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
src/ZODB/tests/VersionStorage.py
src/ZODB/tests/VersionStorage.py
+4
-6
No files found.
src/ZODB/tests/VersionStorage.py
View file @
6e61ad9c
...
...
@@ -2,14 +2,14 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
#
##############################################################################
"""Run the version related tests for a storage.
...
...
@@ -54,7 +54,7 @@ class VersionStorage:
# use repr() to avoid getting binary data in a traceback on error
self
.
assertEqual
(
`revid1`
,
`revid3`
)
self
.
assertNotEqual
(
`revid2`
,
`revid3`
)
def
checkVersionedStoreAndLoad
(
self
):
eq
=
self
.
assertEqual
# Store a couple of non-version revisions of the object
...
...
@@ -380,7 +380,7 @@ class VersionStorage:
self
.
_storage
.
tpc_vote
(
t
)
self
.
_storage
.
tpc_finish
(
t
)
self
.
assertEqual
(
oids
,
[
oid
])
def
checkPackVersions
(
self
):
db
=
DB
(
self
.
_storage
)
cn
=
db
.
open
(
version
=
"testversion"
)
...
...
@@ -466,5 +466,3 @@ class VersionStorage:
txn
.
commit
()
self
.
_storage
.
pack
(
time
.
time
(),
referencesf
)
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