Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tempstorage
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
nexedi
tempstorage
Commits
60ffe1be
Commit
60ffe1be
authored
Jun 26, 2007
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merging Zope211-3.4-integration branch
parent
6c6bed3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
tests/testTemporaryStorage.py
tests/testTemporaryStorage.py
+2
-6
No files found.
tests/testTemporaryStorage.py
View file @
60ffe1be
...
...
@@ -56,7 +56,7 @@ class TemporaryStorageTests(
def
doreadconflict
(
self
,
db
,
mvcc
):
tm1
=
transaction
.
TransactionManager
()
conn
=
db
.
open
(
mvcc
=
mvcc
,
transaction_manager
=
tm1
)
conn
=
db
.
open
(
transaction_manager
=
tm1
)
r1
=
conn
.
root
()
obj
=
MinPO
(
'root'
)
r1
[
"p"
]
=
obj
...
...
@@ -66,7 +66,7 @@ class TemporaryStorageTests(
# start a new transaction with a new connection
tm2
=
transaction
.
TransactionManager
()
cn2
=
db
.
open
(
mvcc
=
mvcc
,
transaction_manager
=
tm2
)
cn2
=
db
.
open
(
transaction_manager
=
tm2
)
r2
=
cn2
.
root
()
self
.
assertEqual
(
r1
.
_p_serial
,
r2
.
_p_serial
)
...
...
@@ -85,10 +85,6 @@ class TemporaryStorageTests(
obj
.
child1
return
obj
def
checkWithoutMVCCRaisesReadConflict
(
self
):
db
=
DB
(
self
.
_storage
)
self
.
assertRaises
(
ReadConflictError
,
self
.
doreadconflict
,
db
,
False
)
def
checkWithMVCCDoesntRaiseReadConflict
(
self
):
db
=
DB
(
self
.
_storage
)
ob
=
self
.
doreadconflict
(
db
,
True
)
...
...
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