Remove test_suite functions since they are only needed for zope.testing < 3.8.0.
This commit is contained in:
parent
f7c1450a1e
commit
a8dc5dd3f0
@ -569,6 +569,3 @@ class NoConversationCatalogTest(unittest.TestCase):
|
||||
IAnnotations(self.portal.doc1)
|
||||
)
|
||||
|
||||
|
||||
def test_suite():
|
||||
return unittest.defaultTestLoader.loadTestsFromName(__name__)
|
||||
|
@ -499,6 +499,3 @@ class RepliesTest(unittest.TestCase):
|
||||
re_re_re_comment.absolute_url()
|
||||
)
|
||||
|
||||
|
||||
def test_suite():
|
||||
return unittest.defaultTestLoader.loadTestsFromName(__name__)
|
||||
|
@ -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__)
|
||||
|
@ -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__)
|
||||
|
@ -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__)
|
||||
|
@ -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__)
|
||||
|
@ -164,6 +164,3 @@ class ModerationBulkActionsViewTest(unittest.TestCase):
|
||||
self.assertTrue(comment)
|
||||
self.assertEqual(comment, self.comment2)
|
||||
|
||||
|
||||
def test_suite():
|
||||
return unittest.defaultTestLoader.loadTestsFromName(__name__)
|
||||
|
@ -276,6 +276,3 @@ class TestModeratorNotificationUnit(unittest.TestCase):
|
||||
|
||||
self.assertEqual(len(self.mailhost.messages), 0)
|
||||
|
||||
|
||||
def test_suite():
|
||||
return unittest.defaultTestLoader.loadTestsFromName(__name__)
|
||||
|
@ -275,6 +275,3 @@ class CommentReviewWorkflowTest(unittest.TestCase):
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def test_suite():
|
||||
return unittest.defaultTestLoader.loadTestsFromName(__name__)
|
||||
|
Loading…
Reference in New Issue
Block a user