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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tristan Cavelier
erp5
Commits
943f84f3
Commit
943f84f3
authored
Apr 10, 2017
by
Łukasz Nowak
Committed by
Tristan Cavelier
Apr 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CHERRY-PICKED Cover subscribeNode returning values
parent
cb1dd939
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
bt5/erp5_test_result/TestTemplateItem/portal_components/test.erp5.testTaskDistribution.py
...eItem/portal_components/test.erp5.testTaskDistribution.py
+18
-0
No files found.
bt5/erp5_test_result/TestTemplateItem/portal_components/test.erp5.testTaskDistribution.py
View file @
943f84f3
...
...
@@ -149,6 +149,24 @@ class TestTaskDistribution(ERP5TypeTestCase):
self
.
portal
.
portal_alarms
.
test_result_alarm_restarted_stuck_test_result
.
activeSense
()
self
.
tic
()
def
test_subscribeNode_ReturnValue
(
self
):
config
=
self
.
distributor
.
subscribeNode
(
'COMP-X'
,
'QPK'
)
config
=
json
.
loads
(
config
)
self
.
assertEqual
(
config
,
{
'process_timeout'
:
None
}
)
self
.
distributor
.
edit
(
process_timeout
=
50
)
config
=
self
.
distributor
.
subscribeNode
(
'COMP-X'
,
'QPK'
)
config
=
json
.
loads
(
config
)
self
.
assertEqual
(
config
,
{
'process_timeout'
:
50
}
)
def
test_03_startTestSuiteWithOneTestNode
(
self
):
config_list
=
json
.
loads
(
self
.
distributor
.
startTestSuite
(
title
=
"COMP32-Node1"
))
...
...
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