summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests/test_uids.py
diff options
context:
space:
mode:
authorBarry Warsaw2017-02-06 09:54:05 -0500
committerBarry Warsaw2017-02-06 09:55:00 -0500
commit26e9f870a3d6aea1c7ff4d576d9b38e3b4d5bbbc (patch)
treedb590d461c1e9c956c1f562f826d8ba0ddf405b3 /src/mailman/rest/tests/test_uids.py
parenta75a718fa9073a51df8ce4deafe8a4851818b0a7 (diff)
downloadmailman-26e9f870a3d6aea1c7ff4d576d9b38e3b4d5bbbc.tar.gz
mailman-26e9f870a3d6aea1c7ff4d576d9b38e3b4d5bbbc.tar.zst
mailman-26e9f870a3d6aea1c7ff4d576d9b38e3b4d5bbbc.zip
Diffstat (limited to 'src/mailman/rest/tests/test_uids.py')
-rw-r--r--src/mailman/rest/tests/test_uids.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rest/tests/test_uids.py b/src/mailman/rest/tests/test_uids.py
index 79f5b73b3..c2a4fcf1c 100644
--- a/src/mailman/rest/tests/test_uids.py
+++ b/src/mailman/rest/tests/test_uids.py
@@ -64,7 +64,7 @@ class TestUIDs(unittest.TestCase):
content, response = call_api(
'http://localhost:9001/3.0/reserved/uids/orphans',
method='DELETE')
- self.assertEqual(response.status, 204)
+ self.assertEqual(response.status_code, 204)
# Now there are no uids in the table.
config.db.abort()
self.assertEqual(UID.get_total_uid_count(), 0)