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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
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
Show 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):
...
@@ -1591,10 +1591,10 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
activity_event
.
wait
()
activity_event
.
wait
()
original_dequeue
=
SQLDict
.
dequeueMessage
original_dequeue
=
SQLDict
.
dequeueMessage
queue_tic_test_dict
=
{}
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
# This is a one-shot method, revert after execution
SQLDict
.
dequeueMessage
=
original_dequeue
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
()
queue_tic_test_dict
[
'isAlive'
]
=
process_shutdown_thread
.
isAlive
()
return
result
return
result
SQLDict
.
dequeueMessage
=
dequeueMessage
SQLDict
.
dequeueMessage
=
dequeueMessage
...
@@ -1865,11 +1865,11 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
...
@@ -1865,11 +1865,11 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self
.
commit
()
self
.
commit
()
activity
=
ActivityTool
.
activity_dict
[
'SQLDict'
]
activity
=
ActivityTool
.
activity_dict
[
'SQLDict'
]
activity
.
getProcessableMessageList
(
activity_tool
,
1
)
activity
.
getProcessableMessageList
(
activity_tool
,
1
,
()
)
self
.
commit
()
self
.
commit
()
activity
.
getProcessableMessageList
(
activity_tool
,
2
)
activity
.
getProcessableMessageList
(
activity_tool
,
2
,
()
)
self
.
commit
()
self
.
commit
()
activity
.
getProcessableMessageList
(
activity_tool
,
3
)
activity
.
getProcessableMessageList
(
activity_tool
,
3
,
()
)
self
.
commit
()
self
.
commit
()
result
=
activity
.
_getMessageList
(
activity_tool
.
getSQLConnection
())
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