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
Laurent S
erp5
Commits
725677fc
Commit
725677fc
authored
Sep 11, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_test_result: ERP5ScalabilityDistributor: fix statement condition
parent
d41020e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
bt5/erp5_test_result/DocumentTemplateItem/ERP5ScalabilityDistributor.py
...result/DocumentTemplateItem/ERP5ScalabilityDistributor.py
+5
-6
bt5/erp5_test_result/bt/revision
bt5/erp5_test_result/bt/revision
+1
-1
No files found.
bt5/erp5_test_result/DocumentTemplateItem/ERP5ScalabilityDistributor.py
View file @
725677fc
...
...
@@ -172,12 +172,11 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
master_test_node_title_list
=
[
x
.
getTitle
()
for
x
in
test_node_module
.
searchFolder
(
validatation_state
=
'validated'
)
if
(
x
.
getMaster
()
==
True
)
]
if
len
(
master_test_node_title_list
)
>
0
:
master_test_node_title
=
master_test_node_title_list
[
0
]
if
title
==
master_test_node_title
:
return
super
(
ERP5ScalabilityDistributor
,
self
).
startTestSuite
(
title
=
title
,
batch_mode
=
batch_mode
,
computer_guid
=
computer_guid
)
if
len
(
master_test_node_title_list
)
==
1
and
title
==
master_test_node_title_list
[
0
]:
return
super
(
ERP5ScalabilityDistributor
,
self
).
startTestSuite
(
title
=
title
,
batch_mode
=
batch_mode
,
computer_guid
=
computer_guid
)
else
:
if
batch_mode
:
return
[]
...
...
bt5/erp5_test_result/bt/revision
View file @
725677fc
276
\ No newline at end of file
277
\ No newline at end of file
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