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
b58b6ea4
Commit
b58b6ea4
authored
Sep 05, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_test_result: ERP5ScalabilityDistributor: isTestCaseAlive method
parent
c5fa46d0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
bt5/erp5_test_result/DocumentTemplateItem/ERP5ScalabilityDistributor.py
...result/DocumentTemplateItem/ERP5ScalabilityDistributor.py
+8
-1
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 @
b58b6ea4
...
...
@@ -254,3 +254,10 @@ class ERP5ScalabilityDistributor(ERP5ProjectUnitTestDistributor):
if
batch_mode
:
return
next_test
return
json
.
dumps
(
next_test
)
security
.
declarePublic
(
"isTestCaseAlive"
)
def
isTestCaseAlive
(
self
,
test_result_line_path
):
portal
=
self
.
getPortalObject
()
test_result_line
=
portal
.
restrictedTraverse
(
test_result_line_path
)
return
test_result_line
.
getSimulationState
()
==
"started"
\ No newline at end of file
bt5/erp5_test_result/bt/revision
View file @
b58b6ea4
271
\ No newline at end of file
272
\ 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