Barry Warsaw pushed to branch issue198-release30 at mailman / Mailman

Commits:
d2517223 by Barry Warsaw at 2016-03-05T13:06:58-05:00
Fix for release-3.0 branch.

- - - - -


1 changed file:

- src/mailman/rest/tests/test_membership.py


Changes:

=====================================
src/mailman/rest/tests/test_membership.py
=====================================
--- a/src/mailman/rest/tests/test_membership.py
+++ b/src/mailman/rest/tests/test_membership.py
@@ -380,12 +380,12 @@ Some text.
             anne = getUtility(IUserManager).create_address('a...@example.com')
             self._mlist.subscribe(anne, MemberRole.owner)
         with self.assertRaises(HTTPError) as cm:
-            call_api('http://localhost:9001/3.1/members', {
-                'list_id': 'ant.example.com',
+            call_api('http://localhost:9001/3.0/members', {
+                'list_id': 'test.example.com',
                 'subscriber': anne.email,
                 'role': 'owner',
                 })
         self.assertEqual(cm.exception.code, 400)
         self.assertEqual(
             cm.exception.reason,
-            b'a...@example.com is already an owner of a...@example.com')
+            b'a...@example.com is already an owner of t...@example.com')



View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/d251722399a5470fa5c4ea6b9325129d8895b135
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to