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

Added an empty list return from parameter factories

parent dc2dbce4
No related branches found
No related tags found
1 merge request!157Added an empty list return from parameter factories
......@@ -135,3 +135,4 @@ class BaseMCOFactory(HasStrictTraits):
-------
List of BaseMCOParameterFactory
"""
return []
......@@ -29,6 +29,7 @@ class TestBaseMCOFactory(unittest.TestCase):
DummyMCOCommunicator)
self.assertIsInstance(factory.create_model(),
DummyMCOModel)
self.assertEqual(factory.parameter_factories(), [])
def test_broken_get_identifier(self):
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