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

Coverage

parent 6751dbed
No related branches found
No related tags found
1 merge request!79Deliver notification info
import unittest
from force_bdss.tests import fixtures
from force_bdss.tests.test_core_evaluation_driver import \
mock_factory_registry_plugin
try:
import mock
except ImportError:
from unittest import mock
from envisage.api import Application
from force_bdss.core_mco_driver import CoreMCODriver
class TestCoreMCODriver(unittest.TestCase):
def setUp(self):
self.mock_factory_registry_plugin = mock_factory_registry_plugin()
application = mock.Mock(spec=Application)
application.get_plugin = mock.Mock(
return_value=self.mock_factory_registry_plugin
)
application.workflow_filepath = fixtures.get("test_null.json")
self.mock_application = application
def test_initialization(self):
driver = CoreMCODriver(
application=self.mock_application,
)
driver.application_started()
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