From 59f980abc3aa10e0ff8a3d38ed91d69f68b194ed Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 6 Nov 2014 20:39:25 -0500 Subject: 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. --- src/mailman/rest/wsgiapp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mailman/rest/wsgiapp.py') diff --git a/src/mailman/rest/wsgiapp.py b/src/mailman/rest/wsgiapp.py index d95926cfd..82f2a3a8f 100644 --- a/src/mailman/rest/wsgiapp.py +++ b/src/mailman/rest/wsgiapp.py @@ -30,7 +30,6 @@ import re import logging from falcon import API -from falcon.api_helpers import create_http_method_map from falcon.responders import path_not_found from mailman.config import config from mailman.database.transaction import transactional @@ -132,7 +131,7 @@ class RootedAPI(API): if len(path_segments) == 0: # We're at the end of the path, so the root must be the # responder. - method_map = create_http_method_map( + method_map = self._create_http_method_map( resource, None, None, None) responder = method_map[method] return responder, {}, resource -- cgit v1.2.3-70-g09d2