diff options
Diffstat (limited to 'src/mailman/rest/tests/test_root.py')
| -rw-r--r-- | src/mailman/rest/tests/test_root.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mailman/rest/tests/test_root.py b/src/mailman/rest/tests/test_root.py index 7f3535496..59cd93637 100644 --- a/src/mailman/rest/tests/test_root.py +++ b/src/mailman/rest/tests/test_root.py @@ -19,7 +19,6 @@ __all__ = [ 'TestRoot', - 'TestSystemConfiguration', ] @@ -64,12 +63,6 @@ class TestRoot(unittest.TestCase): call_api('http://localhost:9001/3.0/does-not-exist') self.assertEqual(cm.exception.code, 404) - def test_system_url_too_long(self): - # /system/foo/bar is not allowed. - with self.assertRaises(HTTPError) as cm: - call_api('http://localhost:9001/3.0/system/foo/bar') - self.assertEqual(cm.exception.code, 400) - def test_system_url_not_preferences(self): # /system/foo where `foo` is not `preferences`. with self.assertRaises(HTTPError) as cm: @@ -130,8 +123,3 @@ class TestRoot(unittest.TestCase): self.assertEqual(content['title'], '401 Unauthorized') self.assertEqual(content['description'], 'User is not authorized for the REST API') - - - -class TestSystemConfiguration(unittest.TestCase): - layer = RESTLayer |
