Skip to content
Snippets Groups Projects
Commit 0825f3a2 authored by Stefano Borini's avatar Stefano Borini
Browse files

Flake

parent 284b66e5
No related branches found
No related tags found
1 merge request!129Safer plugin import
This commit is part of merge request !129. Comments created here will be created in the context of that merge request.
......@@ -55,8 +55,7 @@ class BaseExtensionPlugin(Plugin):
Either(Type(BaseDataSourceFactory),
Type(BaseMCOFactory),
Type(BaseNotificationListenerFactory),
Type(BaseUIHooksFactory)
)
Type(BaseUIHooksFactory))
)
#: A list of available Multi Criteria Optimizers this plugin exports.
......
......@@ -3,11 +3,6 @@ import unittest
from force_bdss.tests.probe_classes.probe_extension_plugin import \
ProbeExtensionPlugin
try:
import mock
except ImportError:
from unittest import mock
class TestBaseExtensionPlugin(unittest.TestCase):
def test_basic_init(self):
......
......@@ -12,8 +12,6 @@ from force_bdss.mco.parameters.base_mco_parameter_factory import \
from force_bdss.notification_listeners.base_notification_listener_factory \
import \
BaseNotificationListenerFactory
from force_bdss.notification_listeners.i_notification_listener_factory import \
INotificationListenerFactory
try:
import mock
......@@ -23,8 +21,6 @@ except ImportError:
from envisage.application import Application
from force_bdss.factory_registry_plugin import FactoryRegistryPlugin
from force_bdss.data_sources.i_data_source_factory import IDataSourceFactory
from force_bdss.mco.i_mco_factory import IMCOFactory
class TestFactoryRegistry(unittest.TestCase):
......
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