summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests/test_membership.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-03-15 15:48:41 -0700
committerBarry Warsaw2012-03-15 15:48:41 -0700
commitac0f1c3916e797f3a2261e9a2631e496fb90a8f1 (patch)
tree441a8e2b32de59f466a837f072120c36c92f60d4 /src/mailman/rest/tests/test_membership.py
parent0589c867988dc70cbe83a53bc9d1e2bbf3108b82 (diff)
downloadmailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.tar.gz
mailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.tar.zst
mailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.zip
Diffstat (limited to 'src/mailman/rest/tests/test_membership.py')
-rw-r--r--src/mailman/rest/tests/test_membership.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/tests/test_membership.py b/src/mailman/rest/tests/test_membership.py
index 568a56306..202e5f057 100644
--- a/src/mailman/rest/tests/test_membership.py
+++ b/src/mailman/rest/tests/test_membership.py
@@ -124,7 +124,7 @@ class TestMembership(unittest.TestCase):
call_api('http://localhost:9001/3.0/members', {
'fqdn_listname': 'test@example.com',
'subscriber': 'anne@example.com',
- 'real_name': 'Anne Person',
+ 'display_name': 'Anne Person',
'delivery_mode': 'invalid-mode',
})
except HTTPError as exc:
@@ -138,7 +138,7 @@ class TestMembership(unittest.TestCase):
content, response = call_api('http://localhost:9001/3.0/members', {
'fqdn_listname': 'test@example.com',
'subscriber': 'hugh/person@example.com',
- 'real_name': 'Hugh Person',
+ 'display_name': 'Hugh Person',
})
self.assertEqual(content, None)
self.assertEqual(response.status, 201)