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
Levin Zimmermann
erp5
Commits
96f0f966
Commit
96f0f966
authored
Apr 10, 2014
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_test_result] Fix typo and error in search parameter.
parent
7983e72c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_test_result/DocumentTemplateItem/portal_components/document.erp5.ERP5ScalabilityDistributor.py
...al_components/document.erp5.ERP5ScalabilityDistributor.py
+2
-2
No files found.
bt5/erp5_test_result/DocumentTemplateItem/portal_components/document.erp5.ERP5ScalabilityDistributor.py
View file @
96f0f966
...
...
@@ -138,7 +138,7 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
"""
test_node_module
=
self
.
_getTestNodeModule
()
test_node_master
=
[
node
for
node
in
test_node_module
.
searchFolder
(
portal_type
=
"Test Node"
,
title
=
title
,
specialise
=
self
.
getRelativeUrl
(),
specialise
_uid
=
self
.
getUid
(),
validation_state
=
"validated"
)
if
node
.
getMaster
()
==
1
]
if
len
(
test_node_master
)
==
1
:
return
True
...
...
@@ -170,7 +170,7 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
# If the testnode wich request testsuites is not the master
# he does not have to receive any testsuites
master_test_node_title_list
=
[
x
.
getTitle
()
for
x
in
test_node_module
.
searchFolder
(
validat
at
ion_state
=
'validated'
)
if
(
x
.
getMaster
()
==
True
)
]
validation_state
=
'validated'
)
if
(
x
.
getMaster
()
==
True
)
]
if
len
(
master_test_node_title_list
)
==
1
and
title
==
master_test_node_title_list
[
0
]:
return
super
(
ERP5ScalabilityDistributor
,
...
...
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