summaryrefslogtreecommitdiff
path: root/src/mailman/rest/docs
diff options
context:
space:
mode:
authorBarry Warsaw2014-11-06 20:39:25 -0500
committerBarry Warsaw2014-11-06 20:39:25 -0500
commit59f980abc3aa10e0ff8a3d38ed91d69f68b194ed (patch)
treed5a63195a5dbe702cf6b8c0c51f474cae8b0e2c0 /src/mailman/rest/docs
parent9b19d1a9d77e71afc0783f22496bd623eda3024b (diff)
downloadmailman-59f980abc3aa10e0ff8a3d38ed91d69f68b194ed.tar.gz
mailman-59f980abc3aa10e0ff8a3d38ed91d69f68b194ed.tar.zst
mailman-59f980abc3aa10e0ff8a3d38ed91d69f68b194ed.zip
When we switch to tox, we'll get hash randomization, which breaks many tests.
While I'm shipping a tox.ini, do not yet use tox to run the tests, unless you want to help fix the randomizations. In the meantime, I'm also adding a few randomization fixes, and updating to the latest falcon git trunk.
Diffstat (limited to 'src/mailman/rest/docs')
-rw-r--r--src/mailman/rest/docs/helpers.rst4
-rw-r--r--src/mailman/rest/docs/preferences.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/rest/docs/helpers.rst b/src/mailman/rest/docs/helpers.rst
index 68dfda1be..5bcf5cad4 100644
--- a/src/mailman/rest/docs/helpers.rst
+++ b/src/mailman/rest/docs/helpers.rst
@@ -45,7 +45,7 @@ gets modified to contain the etag under the ``http_etag`` key.
>>> resource = dict(geddy='bass', alex='guitar', neil='drums')
>>> json_data = etag(resource)
>>> print(resource['http_etag'])
- "43942176d8d5bb4414ccf35e2720ccd5251e66da"
+ "96e036d66248cab746b7d97047e08896fcfb2493"
For convenience, the etag function also returns the JSON representation of the
dictionary after tagging, since that's almost always what you want.
@@ -58,7 +58,7 @@ dictionary after tagging, since that's almost always what you want.
>>> dump_msgdata(data)
alex : guitar
geddy : bass
- http_etag: "43942176d8d5bb4414ccf35e2720ccd5251e66da"
+ http_etag: "96e036d66248cab746b7d97047e08896fcfb2493"
neil : drums
diff --git a/src/mailman/rest/docs/preferences.rst b/src/mailman/rest/docs/preferences.rst
index b8a0af500..b9332c954 100644
--- a/src/mailman/rest/docs/preferences.rst
+++ b/src/mailman/rest/docs/preferences.rst
@@ -162,7 +162,7 @@ deleted.
>>> dump_json('http://localhost:9001/3.0/addresses/anne@example.com'
... '/preferences')
acknowledge_posts: True
- http_etag: "5219245d1eea98bc107032013af20ef91bfb5c51"
+ http_etag: "1ff07b0367bede79ade27d217e12df3915aaee2b"
preferred_language: ja
self_link: http://localhost:9001/3.0/addresses/anne@example.com/preferences