plone.registry 1.0a2 changed methods to mixedCase (register_interface to registerInterface).

svn path=/plone.app.discussion/trunk/; revision=28041
This commit is contained in:
Timo Stollenwerk 2009-07-13 10:22:45 +00:00
parent b106262e31
commit dcb3665d36

View File

@ -16,7 +16,7 @@ class RegistryTest(PloneTestCase):
def afterSetUp(self): def afterSetUp(self):
# Set up the registry # Set up the registry
self.registry = Registry() self.registry = Registry()
self.registry.register_interface(IDiscussionSettings) self.registry.registerInterface(IDiscussionSettings)
def test_discussion_in_controlpanel(self): def test_discussion_in_controlpanel(self):
# Check if discussion is in the control panel # Check if discussion is in the control panel