summaryrefslogtreecommitdiff
path: root/src/mailman/rest
diff options
context:
space:
mode:
authorMark Sapiro2017-01-01 22:05:49 -0800
committerMark Sapiro2017-01-01 22:05:49 -0800
commitf9cf79290eb7a22c4d52622dbef50367a086234d (patch)
tree398ac7db49d11e3c11b15283da09edb1ab4fe661 /src/mailman/rest
parentd233dd419fabd4b42d5b83b920ec7ee54fee57da (diff)
parente3d6c34b7d02b925cb8c59fa9e1df24741fc46ee (diff)
downloadmailman-f9cf79290eb7a22c4d52622dbef50367a086234d.tar.gz
mailman-f9cf79290eb7a22c4d52622dbef50367a086234d.tar.zst
mailman-f9cf79290eb7a22c4d52622dbef50367a086234d.zip
Merge branch 'mr215-review' of gitlab.com:warsaw/mailman into dmarc and
resolve conflicts.
Diffstat (limited to 'src/mailman/rest')
-rw-r--r--src/mailman/rest/docs/systemconf.rst1
-rw-r--r--src/mailman/rest/tests/test_systemconf.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/rest/docs/systemconf.rst b/src/mailman/rest/docs/systemconf.rst
index 8f7144d97..e61dd2cc9 100644
--- a/src/mailman/rest/docs/systemconf.rst
+++ b/src/mailman/rest/docs/systemconf.rst
@@ -30,6 +30,7 @@ You can also get all the values for a particular section, such as the
...or the ``[dmarc]`` section (or any other).
>>> dump_json('http://localhost:9001/3.0/system/configuration/dmarc')
+ cache_lifetime: 7d
http_etag: ...
org_domain_data_url: https://publicsuffix.org/list/public_suffix_list.dat
resolver_lifetime: 5s
diff --git a/src/mailman/rest/tests/test_systemconf.py b/src/mailman/rest/tests/test_systemconf.py
index 9801badf0..480af4e3b 100644
--- a/src/mailman/rest/tests/test_systemconf.py
+++ b/src/mailman/rest/tests/test_systemconf.py
@@ -59,6 +59,7 @@ class TestSystemConfiguration(unittest.TestCase):
self.assertIn('http_etag', json)
del json['http_etag']
self.assertEqual(json, dict(
+ cache_lifetime='7d',
org_domain_data_url= # noqa: E251
'https://publicsuffix.org/list/public_suffix_list.dat',
resolver_lifetime='5s',