summaryrefslogtreecommitdiff
path: root/src/mailman/runners/tests/test_outgoing.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-10-30 12:30:57 -0400
committerBarry Warsaw2011-10-30 12:30:57 -0400
commitf8456fef792eaa7b36a5b04072c5ad15d5fb6d48 (patch)
treebedb742266f1d70c132e642497566cc620823453 /src/mailman/runners/tests/test_outgoing.py
parent42d13a8672d73aca2fc889633dbf7b3ff2a9c7ee (diff)
downloadmailman-f8456fef792eaa7b36a5b04072c5ad15d5fb6d48.tar.gz
mailman-f8456fef792eaa7b36a5b04072c5ad15d5fb6d48.tar.zst
mailman-f8456fef792eaa7b36a5b04072c5ad15d5fb6d48.zip
Remove extraneous `test_suite()` functions. zope.testrunner will
automatically do the right thing in most cases. Keep test_suite() in test_documentation.py since these dynamically set up docs tests properly. Refactor test_passwords.py so that base class tests aren't bogusly run. Also, remove test_membership.py which was essentially disabled because it was testing the MM2 membership API.
Diffstat (limited to 'src/mailman/runners/tests/test_outgoing.py')
-rw-r--r--src/mailman/runners/tests/test_outgoing.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mailman/runners/tests/test_outgoing.py b/src/mailman/runners/tests/test_outgoing.py
index ddabfbef7..41ba1a106 100644
--- a/src/mailman/runners/tests/test_outgoing.py
+++ b/src/mailman/runners/tests/test_outgoing.py
@@ -21,7 +21,6 @@ from __future__ import absolute_import, unicode_literals
__metaclass__ = type
__all__ = [
- 'test_suite',
]
@@ -537,13 +536,3 @@ Message-Id: <first>
self.assertEqual(
line[-63:-1],
'Discarding message with persistent temporary failures: <first>')
-
-
-
-def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TestOnce))
- suite.addTest(unittest.makeSuite(TestVERPSettings))
- suite.addTest(unittest.makeSuite(TestSocketError))
- suite.addTest(unittest.makeSuite(TestSomeRecipientsFailed))
- return suite