From 267f2db66f514db43d0801237213799cd6797ee4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 May 2009 00:27:08 +0000 Subject: Change the semantics of IForbiddenAppFactory. --- repoze/bfg/tests/test_security.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'repoze/bfg/tests/test_security.py') diff --git a/repoze/bfg/tests/test_security.py b/repoze/bfg/tests/test_security.py index b596a1547..ffac19e0d 100644 --- a/repoze/bfg/tests/test_security.py +++ b/repoze/bfg/tests/test_security.py @@ -245,7 +245,7 @@ class TestACLSecurityPolicy(unittest.TestCase): def test_forbidden(self): policy = self._makeOne(lambda *arg: None) - forbidden_app = policy.forbidden() + forbidden_app = policy.forbidden(None, None) environ = {} result = [] def start_response(status, headers): @@ -444,7 +444,7 @@ class TestInheritingACLSecurityPolicy(unittest.TestCase): def test_forbidden(self): policy = self._makeOne(lambda *arg: None) - forbidden_app = policy.forbidden() + forbidden_app = policy.forbidden(None, None) environ = {} result = [] def start_response(status, headers): -- cgit v1.2.3