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
ce623c3b
Commit
ce623c3b
authored
Nov 09, 2017
by
Philip Bauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make import soft
parent
924c5b0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/ZEO/tests/test_marshal.py
src/ZEO/tests/test_marshal.py
+8
-2
No files found.
src/ZEO/tests/test_marshal.py
View file @
ce623c3b
import
unittest
from
ZEO.asyncio.marshal
import
encode
from
ZEO.asyncio.marshal
import
pickle_server_decode
from
ZopeUndo.Prefix
import
Prefix
try
:
from
ZopeUndo.Prefix
import
Prefix
except
ImportError
:
_HAVE_ZOPE_UNDO
=
False
else
:
_HAVE_ZOPE_UNDO
=
True
class
MarshalTests
(
unittest
.
TestCase
):
@
unittest
.
skipUnless
(
_HAVE_ZOPE_UNDO
)
def
testServerDecodeZopeUndoFilter
(
self
):
# this is an example (1) of Zope2's arguments for
# undoInfo call. Arguments are encoded by ZEO client
...
...
@@ -25,4 +32,3 @@ def test_suite():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
MarshalTests
))
return
suite
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