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
924c5b0f
Commit
924c5b0f
authored
Oct 28, 2017
by
Mauro Amico
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test infos
parent
b7ba4560
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/ZEO/tests/test_marshal.py
src/ZEO/tests/test_marshal.py
+4
-1
No files found.
src/ZEO/tests/test_marshal.py
View file @
924c5b0f
...
@@ -7,7 +7,10 @@ from ZopeUndo.Prefix import Prefix
...
@@ -7,7 +7,10 @@ from ZopeUndo.Prefix import Prefix
class
MarshalTests
(
unittest
.
TestCase
):
class
MarshalTests
(
unittest
.
TestCase
):
def
testServerDecodeZopeUndoFilter
(
self
):
def
testServerDecodeZopeUndoFilter
(
self
):
# this is an example of Zope's
# this is an example (1) of Zope2's arguments for
# undoInfo call. Arguments are encoded by ZEO client
# and decoded by server. The operation must be idempotent.
# (1) https://github.com/zopefoundation/Zope/blob/2.13/src/App/Undo.py#L111
args
=
(
0
,
20
,
{
'user_name'
:
Prefix
(
'test'
)})
args
=
(
0
,
20
,
{
'user_name'
:
Prefix
(
'test'
)})
# test against repr because Prefix __eq__ operator
# test against repr because Prefix __eq__ operator
# doesn't compare Prefix with Prefix but only
# doesn't compare Prefix with Prefix but only
...
...
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