Remove test_suite functions since they are only needed for zope.testing < 3.8.0.

This commit is contained in:
Timo Stollenwerk 2013-12-19 09:54:03 +01:00
parent f7c1450a1e
commit a8dc5dd3f0
9 changed files with 0 additions and 27 deletions

View File

@ -569,6 +569,3 @@ class NoConversationCatalogTest(unittest.TestCase):
IAnnotations(self.portal.doc1)
)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)

View File

@ -499,6 +499,3 @@ class RepliesTest(unittest.TestCase):
re_re_re_comment.absolute_url()
)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)

View File

@ -559,6 +559,3 @@ class TestCommentsViewlet(unittest.TestCase):
self.assertTrue(
localized_time in ['Feb 01, 2009 11:32 PM', '2009-02-01 23:32'])
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)

View File

@ -214,6 +214,3 @@ class ConfigurationChangedSubscriberTest(unittest.TestCase):
# setting itself remains unchanged.
self.settings.moderation_enabled = True
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)

View File

@ -874,6 +874,3 @@ class RepliesTest(unittest.TestCase):
self.assertEqual(len(replies_to_comment1_1), 1)
self.assertEqual(len(replies_to_comment2), 1)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)

View File

@ -204,6 +204,3 @@ class CommentIndexersTest(unittest.TestCase):
# object the comment was added to
self.assertEqual(catalog.in_response_to(self.comment)(), 'Document 1')
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)

View File

@ -164,6 +164,3 @@ class ModerationBulkActionsViewTest(unittest.TestCase):
self.assertTrue(comment)
self.assertEqual(comment, self.comment2)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)

View File

@ -276,6 +276,3 @@ class TestModeratorNotificationUnit(unittest.TestCase):
self.assertEqual(len(self.mailhost.messages), 0)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)

View File

@ -275,6 +275,3 @@ class CommentReviewWorkflowTest(unittest.TestCase):
)
)
def test_suite():
return unittest.defaultTestLoader.loadTestsFromName(__name__)