diff options
| author | Aurélien Bompard | 2016-08-31 18:31:52 +0200 |
|---|---|---|
| committer | Aurélien Bompard | 2016-08-31 18:31:52 +0200 |
| commit | c23519b5262fd264ed0f9e5bc23b901ed7eee632 (patch) | |
| tree | 9bd4d31f55d36754adb3d78d72a48bc513f8846d /src | |
| parent | 6a83017b03c679ed1f0f3b7cb0e0e8f50116a179 (diff) | |
| download | mailman-c23519b5262fd264ed0f9e5bc23b901ed7eee632.tar.gz mailman-c23519b5262fd264ed0f9e5bc23b901ed7eee632.tar.zst mailman-c23519b5262fd264ed0f9e5bc23b901ed7eee632.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/docs/NEWS.rst | 2 | ||||
| -rw-r--r-- | src/mailman/rest/tests/test_listconf.py | 4 |
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( |
