Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
78d5a2eb
Commit
78d5a2eb
authored
Apr 10, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cover subscribeNode returning values
parent
d0c28124
Changes
1
Hide 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 @
78d5a2eb
...
...
@@ -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