diff options
| author | Barry Warsaw | 2014-08-12 19:00:44 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2014-08-12 19:00:44 -0400 |
| commit | 61ad6fde0a9cff213a347838f19878a7b52f5466 (patch) | |
| tree | daa43402eed6d9adf8e40c4d077249c46129d962 /src/mailman/rest/tests/test_root.py | |
| parent | 826261effa9d74b8ecdf1247e9ebba75fa3b2baa (diff) | |
| download | mailman-61ad6fde0a9cff213a347838f19878a7b52f5466.tar.gz mailman-61ad6fde0a9cff213a347838f19878a7b52f5466.tar.zst mailman-61ad6fde0a9cff213a347838f19878a7b52f5466.zip | |
Diffstat (limited to 'src/mailman/rest/tests/test_root.py')
| -rw-r--r-- | src/mailman/rest/tests/test_root.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rest/tests/test_root.py b/src/mailman/rest/tests/test_root.py index 7d9124e02..d4d25ede0 100644 --- a/src/mailman/rest/tests/test_root.py +++ b/src/mailman/rest/tests/test_root.py @@ -66,7 +66,7 @@ class TestRoot(unittest.TestCase): # /system/foo where `foo` is not `preferences`. with self.assertRaises(HTTPError) as cm: call_api('http://localhost:9001/3.0/system/foo') - self.assertEqual(cm.exception.code, 400) + self.assertEqual(cm.exception.code, 404) def test_system_preferences_are_read_only(self): # /system/preferences are read-only. |
