Skip to content
Snippets Groups Projects

Safer plugin import

Merged Adham Hashibon requested to merge safer-plugin-import into master
3 files
+ 117
58
Compare changes
  • Side-by-side
  • Inline
Files
3
from force_bdss.base_extension_plugin import BaseExtensionPlugin
from force_bdss.ids import plugin_id
from force_bdss.tests.probe_classes.data_source import ProbeDataSourceFactory
from force_bdss.tests.probe_classes.mco import ProbeMCOFactory
from force_bdss.tests.probe_classes.notification_listener import \
@@ -8,10 +7,16 @@ from force_bdss.tests.probe_classes.ui_hooks import ProbeUIHooksFactory
class ProbeExtensionPlugin(BaseExtensionPlugin):
id = plugin_id("enthought", "test")
factory_classes = [
ProbeDataSourceFactory,
ProbeMCOFactory,
ProbeNotificationListenerFactory,
ProbeUIHooksFactory,
]
def get_producer(self):
return "enthought"
def get_identifier(self):
return "test"
def get_factory_classes(self):
return [
ProbeDataSourceFactory,
ProbeMCOFactory,
ProbeNotificationListenerFactory,
ProbeUIHooksFactory,
]
Loading