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

Fixed test

parent e88695f6
No related branches found
No related tags found
1 merge request!157Added an empty list return from parameter factories
...@@ -29,7 +29,7 @@ class TestBaseMCOFactory(unittest.TestCase): ...@@ -29,7 +29,7 @@ class TestBaseMCOFactory(unittest.TestCase):
DummyMCOCommunicator) DummyMCOCommunicator)
self.assertIsInstance(factory.create_model(), self.assertIsInstance(factory.create_model(),
DummyMCOModel) DummyMCOModel)
self.assertEqual(factory.parameter_factories(), []) self.assertNotEqual(factory.parameter_factories(), [])
def test_broken_get_identifier(self): def test_broken_get_identifier(self):
class Broken(DummyMCOFactory): class Broken(DummyMCOFactory):
......
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