diff options
| -rw-r--r-- | src/mailman/rest/tests/test_listconf.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mailman/rest/tests/test_listconf.py b/src/mailman/rest/tests/test_listconf.py index ddb43a8ea..197e49521 100644 --- a/src/mailman/rest/tests/test_listconf.py +++ b/src/mailman/rest/tests/test_listconf.py @@ -90,3 +90,11 @@ class TestConfiguration(unittest.TestCase): # All three acceptable aliases were set. self.assertEqual(set(IAcceptableAliasSet(self._mlist).aliases), set(aliases)) + + def test_bad_description_update(self): + resource, response = call_api( + 'http://localhost:9001/3.0/lists/test@example.com/config', + dict(description='A description with , to check stuff'), 'PATCH') + self.assertEqual(response.status, 204) + self.assertEqual(self._mlist.description, + 'A description with , to check stuff') |
