summaryrefslogtreecommitdiff
path: root/src/mailman/tests/test_documentation.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/tests/test_documentation.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/tests/test_documentation.py')
-rw-r--r--src/mailman/tests/test_documentation.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman/tests/test_documentation.py b/src/mailman/tests/test_documentation.py
index 8be0f74dd..c47e894c9 100644
--- a/src/mailman/tests/test_documentation.py
+++ b/src/mailman/tests/test_documentation.py
@@ -182,6 +182,10 @@ def setup(testobj):
def test_suite():
+ """Create test suites for all .rst documentation tests.
+
+ .txt files are also tested, but .rst is highly preferred.
+ """
suite = unittest.TestSuite()
topdir = os.path.dirname(mailman.__file__)
packages = []