Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
01ed75a8
Commit
01ed75a8
authored
Feb 17, 2022
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testCMFActivity: Make for_each_activity failures to get an empty activity list easier to debug.
parent
38fe00ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
product/CMFActivity/tests/testCMFActivity.py
product/CMFActivity/tests/testCMFActivity.py
+3
-1
No files found.
product/CMFActivity/tests/testCMFActivity.py
View file @
01ed75a8
...
@@ -66,7 +66,9 @@ def for_each_activity(wrapped):
...
@@ -66,7 +66,9 @@ def for_each_activity(wrapped):
for
activity
in
ActivityTool
.
activity_dict
:
for
activity
in
ActivityTool
.
activity_dict
:
wrapped
(
self
,
activity
)
wrapped
(
self
,
activity
)
self
.
abort
()
self
.
abort
()
self
.
assertFalse
(
getMessageList
())
self
.
assertFalse
([
x
.
__dict__
for
x
in
getMessageList
()
])
return
wraps
(
wrapped
)(
wrapper
)
return
wraps
(
wrapped
)(
wrapper
)
def
registerFailingTransactionManager
(
*
args
,
**
kw
):
def
registerFailingTransactionManager
(
*
args
,
**
kw
):
...
...
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