diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-25 00:27:08 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-25 00:27:08 +0000 |
| commit | 267f2db66f514db43d0801237213799cd6797ee4 (patch) | |
| tree | ae13868d50a54f534bf594acf8b109d49ad60e09 /repoze/bfg/tests/test_security.py | |
| parent | 6db0d49fb607f4dc55e8612e4a658856c1afbf8b (diff) | |
| download | pyramid-267f2db66f514db43d0801237213799cd6797ee4.tar.gz pyramid-267f2db66f514db43d0801237213799cd6797ee4.tar.bz2 pyramid-267f2db66f514db43d0801237213799cd6797ee4.zip | |
Change the semantics of IForbiddenAppFactory.
Diffstat (limited to 'repoze/bfg/tests/test_security.py')
| -rw-r--r-- | repoze/bfg/tests/test_security.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |
