summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/docs/NEWS.rst2
-rw-r--r--src/mailman/rest/tests/test_listconf.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst
index a6a2e4522..49f309770 100644
--- a/src/mailman/docs/NEWS.rst
+++ b/src/mailman/docs/NEWS.rst
@@ -88,6 +88,8 @@ Bugs
* Email address validation is now more compliant with RFC 5321. (Closes #266)
* A mailing list's ``description`` must not contain newlines. Given by
Aurélien Bompard. (Closes: #273)
+ * Allow MailingList.info to be set using the REST API. Given by Aurélien
+ Bompard.
Configuration
-------------
diff --git a/src/mailman/rest/tests/test_listconf.py b/src/mailman/rest/tests/test_listconf.py
index 78e94b95e..3260d6afb 100644
--- a/src/mailman/rest/tests/test_listconf.py
+++ b/src/mailman/rest/tests/test_listconf.py
@@ -455,9 +455,9 @@ class TestConfiguration(unittest.TestCase):
with transaction():
resource, response = call_api(
'http://localhost:9001/3.0/lists/ant.example.com/config',
- dict(info='testvalue'),
+ dict(info='multiline\ntest\nvalue'),
'PATCH')
- self.assertEqual(self._mlist.info, 'testvalue')
+ self.assertEqual(self._mlist.info, 'multiline\ntest\nvalue')
# Now empty it
with transaction():
resource, response = call_api(