Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Kasra Jamshidi
erp5
Commits
117247a9
Commit
117247a9
authored
Jul 18, 2017
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui_dump_test: Fix initialisation of virtual id thanks
@jm
parent
9c1fab2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5Type/tests/ui_dump_test.py
product/ERP5Type/tests/ui_dump_test.py
+2
-1
No files found.
product/ERP5Type/tests/ui_dump_test.py
View file @
117247a9
...
...
@@ -33,6 +33,7 @@ from AccessControl.SecurityManagement \
import
getSecurityManager
,
setSecurityManager
from
Products.DCWorkflow.DCWorkflow
import
Unauthorized
from
Testing
import
ZopeTestCase
from
zLOG
import
LOG
class
ui_dump_test
(
object
):
...
...
@@ -147,7 +148,7 @@ class ui_dump_test(object):
else
:
assert
not
raise_if_new
,
"Tracking a subobject of a new and"
\
" untracked object produces unstable dumps."
self
.
last_id_dict
[
container
]
+=
1
self
.
last_id_dict
[
container
]
=
virtual_id
+
1
self
.
virtual_path_dict
[
path
]
=
virtual_path
=
container
+
(
virtual_id
,)
return
virtual_path
...
...
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