You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/11/01 18:02:40 UTC

git commit: remove 'request' from global registry

Updated Branches:
  refs/heads/master 5adec29a7 -> 4e3ac0874


remove 'request' from global registry

When TestRestExport tests run, this causes problems in later tests
that validate anti-spam fields.  Specifically, `make_spinner` returns
a different value the first time, due to the remote_addr being
set to 1.1.1.1


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/4e3ac087
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/4e3ac087
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/4e3ac087

Branch: refs/heads/master
Commit: 4e3ac0874c8563d94da87c13a5248ba3feda58a2
Parents: 5adec29
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Fri Nov 1 16:54:32 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri Nov 1 16:54:32 2013 +0000

----------------------------------------------------------------------
 AlluraTest/alluratest/controller.py | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/4e3ac087/AlluraTest/alluratest/controller.py
----------------------------------------------------------------------
diff --git a/AlluraTest/alluratest/controller.py b/AlluraTest/alluratest/controller.py
index 43cdf75..e382a64 100644
--- a/AlluraTest/alluratest/controller.py
+++ b/AlluraTest/alluratest/controller.py
@@ -99,7 +99,6 @@ def setup_unit_test():
     REGISTRY.register(g, Globals())
     REGISTRY.register(c, mock.Mock())
     REGISTRY.register(url, lambda:None)
-    REGISTRY.register(request, Request.blank('/', remote_addr='1.1.1.1'))
     REGISTRY.register(response, Response())
     REGISTRY.register(session, beaker.session.SessionObject({}))
     REGISTRY.register(allura.credentials, allura.lib.security.Credentials())