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
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
Nicolas Wavrant
ZODB
Commits
034211a5
Commit
034211a5
authored
Apr 24, 2009
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed trailing whitespace.
parent
8466bdc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/ZODB/tests/testDemoStorage.py
src/ZODB/tests/testDemoStorage.py
+6
-6
No files found.
src/ZODB/tests/testDemoStorage.py
View file @
034211a5
...
@@ -33,7 +33,7 @@ from ZODB.tests import (
...
@@ -33,7 +33,7 @@ from ZODB.tests import (
class
DemoStorageTests
(
class
DemoStorageTests
(
StorageTestBase
.
StorageTestBase
,
StorageTestBase
.
StorageTestBase
,
BasicStorage
.
BasicStorage
,
BasicStorage
.
BasicStorage
,
HistoryStorage
.
HistoryStorage
,
HistoryStorage
.
HistoryStorage
,
IteratorStorage
.
ExtendedIteratorStorage
,
IteratorStorage
.
ExtendedIteratorStorage
,
IteratorStorage
.
IteratorStorage
,
IteratorStorage
.
IteratorStorage
,
...
@@ -72,12 +72,12 @@ class DemoStorageTests(
...
@@ -72,12 +72,12 @@ class DemoStorageTests(
transaction
.
commit
()
transaction
.
commit
()
self
.
assertEqual
(
len
(
self
.
_storage
),
11
)
self
.
assertEqual
(
len
(
self
.
_storage
),
11
)
self
.
assert_
(
self
.
_storage
)
self
.
assert_
(
self
.
_storage
)
def
checkLoadBeforeUndo
(
self
):
def
checkLoadBeforeUndo
(
self
):
pass
# we don't support undo yet
pass
# we don't support undo yet
checkUndoZombie
=
checkLoadBeforeUndo
checkUndoZombie
=
checkLoadBeforeUndo
class
DemoStorageWrappedBase
(
DemoStorageTests
):
class
DemoStorageWrappedBase
(
DemoStorageTests
):
def
setUp
(
self
):
def
setUp
(
self
):
...
@@ -93,7 +93,7 @@ class DemoStorageWrappedBase(DemoStorageTests):
...
@@ -93,7 +93,7 @@ class DemoStorageWrappedBase(DemoStorageTests):
raise
NotImplementedError
raise
NotImplementedError
def
checkPackOnlyOneObject
(
self
):
def
checkPackOnlyOneObject
(
self
):
pass
# Wrapping demo storages don't do gc
pass
# Wrapping demo storages don't do gc
def
checkPackWithMultiDatabaseReferences
(
self
):
def
checkPackWithMultiDatabaseReferences
(
self
):
pass
# we never do gc
pass
# we never do gc
...
@@ -110,7 +110,7 @@ class DemoStorageWrappedAroundFileStorage(DemoStorageWrappedBase):
...
@@ -110,7 +110,7 @@ class DemoStorageWrappedAroundFileStorage(DemoStorageWrappedBase):
def
_makeBaseStorage
(
self
):
def
_makeBaseStorage
(
self
):
from
ZODB.FileStorage
import
FileStorage
from
ZODB.FileStorage
import
FileStorage
return
FileStorage
(
'FileStorageTests.fs'
)
return
FileStorage
(
'FileStorageTests.fs'
)
def
setUp
(
test
):
def
setUp
(
test
):
...
@@ -168,7 +168,7 @@ def blob_pos_key_error_with_non_blob_base():
...
@@ -168,7 +168,7 @@ def blob_pos_key_error_with_non_blob_base():
Traceback (most recent call last):
Traceback (most recent call last):
...
...
POSKeyError: 0x01
POSKeyError: 0x01
"""
"""
...
...
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