remove the user notification feature for now, since it requires the current z3c.form trunk and does not work with the latest release on PyPi.

svn path=/plone.app.discussion/trunk/; revision=34697
This commit is contained in:
Timo Stollenwerk 2010-03-11 19:23:26 +00:00
parent 2301565e27
commit ce7e47f07b

View File

@ -68,12 +68,12 @@ class RegistryTest(PloneTestCase):
self.failUnless('moderator_notification_enabled' in IDiscussionSettings)
self.assertEquals(self.registry['plone.app.discussion.interfaces.IDiscussionSettings.moderator_notification_enabled'], False)
def test_user_notification_enabled(self):
# Check show_commenter_image record
show_commenter_image = self.registry.records['plone.app.discussion.interfaces.IDiscussionSettings.user_notification_enabled']
self.failUnless('user_notification_enabled' in IDiscussionSettings)
self.assertEquals(self.registry['plone.app.discussion.interfaces.IDiscussionSettings.user_notification_enabled'], False)
#def test_user_notification_enabled(self):
# # Check show_commenter_image record
# show_commenter_image = self.registry.records['plone.app.discussion.interfaces.IDiscussionSettings.user_notification_enabled']
#
# self.failUnless('user_notification_enabled' in IDiscussionSettings)
# self.assertEquals(self.registry['plone.app.discussion.interfaces.IDiscussionSettings.user_notification_enabled'], False)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)