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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
0554eae5
Commit
0554eae5
authored
May 22, 2019
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMFActivity.tests: Follow-up on API changes.
parent
53f98a80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
product/CMFActivity/tests/testCMFActivity.py
product/CMFActivity/tests/testCMFActivity.py
+5
-5
No files found.
product/CMFActivity/tests/testCMFActivity.py
View file @
0554eae5
...
...
@@ -1591,10 +1591,10 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
activity_event
.
wait
()
original_dequeue
=
SQLDict
.
dequeueMessage
queue_tic_test_dict
=
{}
def
dequeueMessage
(
self
,
activity_tool
,
processing_node
):
def
dequeueMessage
(
self
,
activity_tool
,
processing_node
,
node_family_id_set
):
# This is a one-shot method, revert after execution
SQLDict
.
dequeueMessage
=
original_dequeue
result
=
self
.
dequeueMessage
(
activity_tool
,
processing_node
)
result
=
self
.
dequeueMessage
(
activity_tool
,
processing_node
,
node_family_id_set
)
queue_tic_test_dict
[
'isAlive'
]
=
process_shutdown_thread
.
isAlive
()
return
result
SQLDict
.
dequeueMessage
=
dequeueMessage
...
...
@@ -1865,11 +1865,11 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self
.
commit
()
activity
=
ActivityTool
.
activity_dict
[
'SQLDict'
]
activity
.
getProcessableMessageList
(
activity_tool
,
1
)
activity
.
getProcessableMessageList
(
activity_tool
,
1
,
()
)
self
.
commit
()
activity
.
getProcessableMessageList
(
activity_tool
,
2
)
activity
.
getProcessableMessageList
(
activity_tool
,
2
,
()
)
self
.
commit
()
activity
.
getProcessableMessageList
(
activity_tool
,
3
)
activity
.
getProcessableMessageList
(
activity_tool
,
3
,
()
)
self
.
commit
()
result
=
activity
.
_getMessageList
(
activity_tool
.
getSQLConnection
())
...
...
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