Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
ensembl-hive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Jira
Jira
Merge Requests
7
Merge Requests
7
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
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
ensembl-gh-mirror
ensembl-hive
Commits
099ce5a9
Commit
099ce5a9
authored
Jun 19, 2020
by
Matthieu Muffato
Committed by
ens-bwalts
Nov 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added no_cleanup, like in the Perl side
parent
635c89ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
wrappers/python3/eHive/tests.py
wrappers/python3/eHive/tests.py
+5
-1
No files found.
wrappers/python3/eHive/tests.py
View file @
099ce5a9
...
...
@@ -54,6 +54,9 @@ def testRunnable(testcase, runnableClass, inputParameters, refEvents, config=Non
pre_cleanup should run).
- no_write: bool, default False.
whether write_output is skipped.
- no_cleanup: bool, default False.
whether the temporary directory is removed at the end
of the run.
- test_autoflow: bool, default not set.
when set, check that this is the final value of the
job's autoflow attribute.
...
...
@@ -131,7 +134,8 @@ def testRunnable(testcase, runnableClass, inputParameters, refEvents, config=Non
except
Exception
as
e
:
self
.
__handle_exception
(
e
)
self
.
__cleanup_worker_temp_directory
()
if
not
self
.
__config
.
get
(
'no_cleanup'
):
self
.
__cleanup_worker_temp_directory
()
def
__run_method_if_exists
(
self
,
method
):
"""Run the method (one of "fetch_input", "run", "write_output",
...
...
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