Commit f0e07339 authored by Philip ABBET's avatar Philip ABBET
Browse files

Refactoring: Rename beat.core.execution.Executor into .DockerExecutor

parent 87adcc70
......@@ -203,7 +203,7 @@ class Agent(object):
configuration (object): A *valid*, preloaded
:py:class:`beat.core.execution.Executor` object.
:py:class:`beat.core.execution.DockerExecutor` object.
host (:py:class:Host): A configured docker host that will execute the
user process. If the host does not have access to the required
......@@ -56,8 +56,8 @@ from beat.backend.python.helpers import create_outputs_from_configuration
from beat.backend.python.helpers import CacheAccess
class Executor(object):
"""Executors runs the code given an execution block information, externally
class DockerExecutor(object):
"""DockerExecutors runs the code given an execution block information, externally
File mode changed from 100755 to 100644
......@@ -46,7 +46,7 @@ import numpy
import unittest
from ..experiment import Experiment
from ..execution import Executor
from ..execution import DockerExecutor
from ..hash import hashFileContents
from import CachedDataSource
from ..dock import Host
......@@ -130,7 +130,7 @@ class TestExecution(unittest.TestCase):
# can we execute it?
results = []
for key, value in scheduled.items():
executor = Executor(, prefix, value['configuration'], tmp_prefix,
executor = DockerExecutor(, prefix, value['configuration'], tmp_prefix,
dataformat_cache, database_cache, algorithm_cache,
assert executor.valid, '\n * %s' % '\n * '.join(executor.errors)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment