summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests
diff options
context:
space:
mode:
authorBarry Warsaw2012-12-17 12:32:20 -0500
committerBarry Warsaw2012-12-17 12:32:20 -0500
commitf688d232515fbfe441d0862a1811f1954078868f (patch)
tree1252223635d6767da3b17bdda2f9487745c6adff /src/mailman/rest/tests
parentea74cec932868965d5cc96c2456fe849517a9530 (diff)
downloadmailman-f688d232515fbfe441d0862a1811f1954078868f.tar.gz
mailman-f688d232515fbfe441d0862a1811f1954078868f.tar.zst
mailman-f688d232515fbfe441d0862a1811f1954078868f.zip
* Simplify moderator.rst and requests.rst so they serve a better purpose as
documentation. Move non-documentation tests into a separate unittest file. * Separate out the doctests for IRequest from the doctests for app/moderator.py and place the latter in a separate file. * Fix typo in app/membership.py (s/send_goodbye_msg/send_goodbye_message), but LP: #1091321 tracks more needed fixes in this area.
Diffstat (limited to 'src/mailman/rest/tests')
-rw-r--r--src/mailman/rest/tests/test_moderation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rest/tests/test_moderation.py b/src/mailman/rest/tests/test_moderation.py
index 2ee796c87..46cc86d60 100644
--- a/src/mailman/rest/tests/test_moderation.py
+++ b/src/mailman/rest/tests/test_moderation.py
@@ -82,7 +82,7 @@ Something else.
self.assertEqual(cm.exception.code, 404)
# But using the held_id returns a valid response.
response, content = call_api(url.format(held_id))
- self.assertEqual(response['key'], '<alpha>')
+ self.assertEqual(response['message_id'], '<alpha>')
def test_bad_action(self):
# POSTing to a held message with a bad action.