diff options
| author | Barry Warsaw | 2016-10-30 18:19:16 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-10-30 18:19:16 -0400 |
| commit | 76d8d7d71b6573b9d36c4a280fb50f61f92764e0 (patch) | |
| tree | 08433ee727a1cdd27001d17f160ddf2a4f68fccb /src/mailman/rest/tests/test_basic.py | |
| parent | a93b1b431b67714e6ae5b648165b8304eded2651 (diff) | |
| download | mailman-76d8d7d71b6573b9d36c4a280fb50f61f92764e0.tar.gz mailman-76d8d7d71b6573b9d36c4a280fb50f61f92764e0.tar.zst mailman-76d8d7d71b6573b9d36c4a280fb50f61f92764e0.zip | |
Diffstat (limited to 'src/mailman/rest/tests/test_basic.py')
| -rw-r--r-- | src/mailman/rest/tests/test_basic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/tests/test_basic.py b/src/mailman/rest/tests/test_basic.py index fade3ed40..23db57f8e 100644 --- a/src/mailman/rest/tests/test_basic.py +++ b/src/mailman/rest/tests/test_basic.py @@ -48,8 +48,8 @@ class TestBasicREST(unittest.TestCase): 'A description with , to check stuff') def test_send_error(self): - # Test `AdminWebServiceWSGIRequestHandler` `send_error`. - # Return 400 for invalid url. + # GL#288 working around Python bug #28548. The improperly encoded + # space in the URL breaks error reporting due to default HTTP/0.9. with self.assertRaises(HTTPError) as cm: call_api('http://localhost:9001/3.0/lists/test @example.com') self.assertEqual(cm.exception.code, 400) |
