"Enable comment moderation" setting added to the discussion control panel. Just a proof of concept so far. Not fully implemented yet. No tests.

svn path=/plone.app.discussion/trunk/; revision=46249
This commit is contained in:
Timo Stollenwerk
2010-12-11 17:18:14 +00:00
parent 09a804aa88
commit 0475376ed0
4 changed files with 76 additions and 3 deletions
@@ -90,5 +90,21 @@ class RegistryTest(PloneTestCase):
# self.assertEquals(self.registry['plone.app.discussion.interfaces.' +
# 'IDiscussionSettings.user_notification_enabled'], False)
class ConfigurationChangedSubscriberTest(PloneTestCase):
layer = DiscussionLayer
def afterSetUp(self):
self.loginAsPortalOwner()
# Set up the registry
self.registry = Registry()
self.registry.registerInterface(IDiscussionSettings)
def todo(self):
# XXX: Todo!!!
pass
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)