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

Fixed error

parent 09fb5f11
No related branches found
No related tags found
1 merge request!157Added an empty list return from parameter factories
......@@ -16,6 +16,11 @@ except ImportError:
from envisage.plugin import Plugin
class MCOFactory(BaseMCOFactory):
def get_name(self):
return "foo"
class TestBaseMCOFactory(unittest.TestCase):
def setUp(self):
self.plugin = mock.Mock(spec=Plugin, id="pid")
......@@ -32,7 +37,7 @@ class TestBaseMCOFactory(unittest.TestCase):
DummyMCOModel)
def test_base_object_parameter_factories(self):
factory = BaseMCOFactory(self.plugin)
factory = MCOFactory(self.plugin)
self.assertNotEqual(factory.parameter_factories(), [])
def test_broken_get_identifier(self):
......
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