From eb104f74be5941f6f3d7b81d97d6db3a5ea990d6 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Thu, 16 Apr 2015 10:05:46 -0400 Subject: fix tests for previous commit --- src/mailman/app/docs/chains.rst | 11 ++++------- src/mailman/app/tests/test_subscriptions.py | 2 +- src/mailman/templates/en/postauth.txt | 1 + 3 files changed, 6 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/mailman/app/docs/chains.rst b/src/mailman/app/docs/chains.rst index a79999de0..328d0b624 100644 --- a/src/mailman/app/docs/chains.rst +++ b/src/mailman/app/docs/chains.rst @@ -132,13 +132,10 @@ This one is addressed to the list moderators. List: test@example.com From: aperson@example.com Subject: My first post - Reason: XXX + Reason: N/A - At your convenience, visit: - - http://lists.example.com/admindb/test@example.com - - to approve or deny the request. + At your convenience, visit your dashboard to approve or deny the + request. ... Content-Type: message/rfc822 @@ -189,7 +186,7 @@ This message is addressed to the sender of the message. The reason it is being held: - XXX + N/A Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel diff --git a/src/mailman/app/tests/test_subscriptions.py b/src/mailman/app/tests/test_subscriptions.py index a4971d793..a4de3fbb3 100644 --- a/src/mailman/app/tests/test_subscriptions.py +++ b/src/mailman/app/tests/test_subscriptions.py @@ -408,7 +408,7 @@ class TestSubscriptionWorkflow(unittest.TestCase): list(workflow) line = mark.readline() self.assertEqual( - line[29:-1], + line[28:-1], 'test@example.com: held subscription request from anne@example.com' ) diff --git a/src/mailman/templates/en/postauth.txt b/src/mailman/templates/en/postauth.txt index 472ed32b4..ebaeb94cc 100644 --- a/src/mailman/templates/en/postauth.txt +++ b/src/mailman/templates/en/postauth.txt @@ -8,3 +8,4 @@ following mailing list posting: At your convenience, visit your dashboard to approve or deny the request. + -- cgit v1.2.3-70-g09d2