Skip to content
Snippets Groups Projects
Commit 43776a9f authored by martinRenou's avatar martinRenou
Browse files

Merge branch 'master' into create_probe_classes_for_tests

parents 000694cb 80808e38
No related branches found
No related tags found
1 merge request!101Create probe classes for tests
from .base_extension_plugin import BaseExtensionPlugin # noqa from .base_extension_plugin import BaseExtensionPlugin # noqa
from .ids import factory_id, plugin_id # noqa from .ids import factory_id, plugin_id, mco_parameter_id # noqa
from .core.data_value import DataValue # noqa from .core.data_value import DataValue # noqa
from .core.workflow import Workflow # noqa from .core.workflow import Workflow # noqa
......
...@@ -21,6 +21,7 @@ class BaseMCOCommunicator(ABCHasStrictTraits): ...@@ -21,6 +21,7 @@ class BaseMCOCommunicator(ABCHasStrictTraits):
def __init__(self, factory, *args, **kwargs): def __init__(self, factory, *args, **kwargs):
self.factory = factory self.factory = factory
super(BaseMCOCommunicator, self).__init__(*args, **kwargs)
super(BaseMCOCommunicator, self).__init__(*args, **kwargs) super(BaseMCOCommunicator, self).__init__(*args, **kwargs)
......
...@@ -27,9 +27,9 @@ class BaseMCOParameterFactory(HasStrictTraits): ...@@ -27,9 +27,9 @@ class BaseMCOParameterFactory(HasStrictTraits):
# The model class to instantiate when create_model is called. # The model class to instantiate when create_model is called.
model_class = Type('BaseMCOParameter') model_class = Type('BaseMCOParameter')
def __init__(self, mco_factory): def __init__(self, mco_factory, *args, **kwargs):
self.mco_factory = mco_factory self.mco_factory = mco_factory
super(BaseMCOParameterFactory, self).__init__() super(BaseMCOParameterFactory, self).__init__(*args, **kwargs)
def create_model(self, data_values=None): def create_model(self, data_values=None):
"""Creates the instance of the model class and returns it. """Creates the instance of the model class and returns it.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment