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

Updated also Dummy MCO testing

parent 62467fae
No related branches found
No related tags found
1 merge request!130Safer plugin import - 2
...@@ -21,8 +21,8 @@ class TestBaseMCOFactory(unittest.TestCase): ...@@ -21,8 +21,8 @@ class TestBaseMCOFactory(unittest.TestCase):
def test_initialization(self): def test_initialization(self):
factory = DummyMCOFactory(self.plugin) factory = DummyMCOFactory(self.plugin)
self.assertEqual(factory.id, 'pid.factory.foo') self.assertEqual(factory.id, 'pid.factory.dummy_mco')
self.assertEqual(factory.name, 'bar') self.assertEqual(factory.name, 'Dummy MCO')
self.assertIsInstance(factory.create_optimizer(), self.assertIsInstance(factory.create_optimizer(),
DummyMCO) DummyMCO)
self.assertIsInstance(factory.create_communicator(), self.assertIsInstance(factory.create_communicator(),
......
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