summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rest/tests')
-rw-r--r--src/mailman/rest/tests/test_membership.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/rest/tests/test_membership.py b/src/mailman/rest/tests/test_membership.py
index f1a5f7ab0..e3648d17e 100644
--- a/src/mailman/rest/tests/test_membership.py
+++ b/src/mailman/rest/tests/test_membership.py
@@ -180,7 +180,8 @@ class TestMembership(unittest.TestCase):
def test_patch_nonexistent_member(self):
# /members/<missing> PATCH returns 404
with self.assertRaises(HTTPError) as cm:
- call_api('http://localhost:9001/3.0/members/801', method='PATCH')
+ call_api('http://localhost:9001/3.0/members/801',
+ {}, method='PATCH')
self.assertEqual(cm.exception.code, 404)
def test_patch_member_bogus_attribute(self):