diff options
| author | Barry Warsaw | 2014-04-14 12:12:39 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2014-04-14 12:12:39 -0400 |
| commit | ff6df86000da8fcb055101c5cede36b27cb0480a (patch) | |
| tree | 6b700bb00766dda02b8742f2ca9ef10c0ba3d2ee /src/mailman/rest/tests | |
| parent | b4d3a036b5949c6945b13416615cfd356a327ee2 (diff) | |
| parent | acc302099df53474e631117351f8116727c1ceb6 (diff) | |
| download | mailman-ff6df86000da8fcb055101c5cede36b27cb0480a.tar.gz mailman-ff6df86000da8fcb055101c5cede36b27cb0480a.tar.zst mailman-ff6df86000da8fcb055101c5cede36b27cb0480a.zip | |
Aurélien Bompard's import-from-2.1 branch, with cleanup and fixes.
Diffstat (limited to 'src/mailman/rest/tests')
| -rw-r--r-- | src/mailman/rest/tests/test_membership.py | 3 |
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): |
