summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests/test_root.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-26 22:59:02 -0500
committerBarry Warsaw2014-12-26 22:59:02 -0500
commit37ee257a8b0ccdcab41703b04d68e3f939017988 (patch)
tree54f5a586f2c8a1f09ccd5ba7826b3646f0e49624 /src/mailman/rest/tests/test_root.py
parentee2fdc578b5e0209a9e661cc1455aaff5dc8443a (diff)
downloadmailman-37ee257a8b0ccdcab41703b04d68e3f939017988.tar.gz
mailman-37ee257a8b0ccdcab41703b04d68e3f939017988.tar.zst
mailman-37ee257a8b0ccdcab41703b04d68e3f939017988.zip
Diffstat (limited to 'src/mailman/rest/tests/test_root.py')
-rw-r--r--src/mailman/rest/tests/test_root.py12
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