summaryrefslogtreecommitdiff
path: root/src/mailman/tests/test_documentation.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-07-21 07:07:58 -0400
committerBarry Warsaw2009-07-21 07:07:58 -0400
commit95163b905be9c912f640b07353451013bd6020a7 (patch)
treedee1520ef7595ef9baa1f7aff2fc35f1b32e8a23 /src/mailman/tests/test_documentation.py
parentbf1204e9c920588adf649033d5db02bb7d75d640 (diff)
downloadmailman-95163b905be9c912f640b07353451013bd6020a7.tar.gz
mailman-95163b905be9c912f640b07353451013bd6020a7.tar.zst
mailman-95163b905be9c912f640b07353451013bd6020a7.zip
Diffstat (limited to 'src/mailman/tests/test_documentation.py')
-rw-r--r--src/mailman/tests/test_documentation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/tests/test_documentation.py b/src/mailman/tests/test_documentation.py
index 81762c5cc..eb28d5d43 100644
--- a/src/mailman/tests/test_documentation.py
+++ b/src/mailman/tests/test_documentation.py
@@ -156,7 +156,6 @@ def setup(testobj):
# doctests should do the imports themselves. It makes for better
# documentation that way. However, a few are really useful, or help to
# hide some icky test implementation details.
- testobj.globs['commit'] = config.db.commit
testobj.globs['config'] = config
testobj.globs['create_list'] = create_list
testobj.globs['dump_json'] = dump_json
@@ -164,6 +163,7 @@ def setup(testobj):
testobj.globs['message_from_string'] = specialized_message_from_string
testobj.globs['smtpd'] = SMTPLayer.smtpd
testobj.globs['stop'] = stop
+ testobj.globs['transaction'] = config.db