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
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
7a8205c3
Commit
7a8205c3
authored
Aug 03, 2020
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DummyTaskDistributionTool: Remove (unused).
parent
fbb41737
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
product/ERP5Type/tests/DummyTaskDistributionTool.py
product/ERP5Type/tests/DummyTaskDistributionTool.py
+0
-25
No files found.
product/ERP5Type/tests/DummyTaskDistributionTool.py
deleted
100644 → 0
View file @
fbb41737
import
threading
class
DummyTaskDistributionTool
(
object
):
def
__init__
(
self
):
self
.
lock
=
threading
.
Lock
()
def
createTestResult
(
self
,
name
,
revision
,
test_name_list
,
allow_restart
,
*
args
):
self
.
test_name_list
=
list
(
test_name_list
)
return
None
,
revision
def
updateTestResult
(
self
,
name
,
revision
,
test_name_list
):
self
.
test_name_list
=
list
(
test_name_list
)
return
None
,
revision
def
startUnitTest
(
self
,
test_result_path
,
exclude_list
=
()):
with
self
.
lock
:
for
i
,
test
in
enumerate
(
self
.
test_name_list
):
if
test
not
in
exclude_list
:
del
self
.
test_name_list
[
i
]
return
None
,
test
def
stopUnitTest
(
self
,
test_path
,
status_dict
):
pass
\ 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