summaryrefslogtreecommitdiff
path: root/tests/test_config
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2019-03-03 08:49:58 -0800
committerTheron Luhn <theron@luhn.com>2019-03-03 08:55:02 -0800
commit5abdd1d7636a8f7c5cda4c8fcf2669c3937c1186 (patch)
treebcbf0d8499152be3efb4b592657a55b179421b2a /tests/test_config
parent140fdbb54c467159313ede564dd3ad4077e30f20 (diff)
downloadpyramid-5abdd1d7636a8f7c5cda4c8fcf2669c3937c1186.tar.gz
pyramid-5abdd1d7636a8f7c5cda4c8fcf2669c3937c1186.tar.bz2
pyramid-5abdd1d7636a8f7c5cda4c8fcf2669c3937c1186.zip
Implement new request.has_permission.
Deleted AuthorizationAPIMixin
Diffstat (limited to 'tests/test_config')
-rw-r--r--tests/test_config/test_testing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_config/test_testing.py b/tests/test_config/test_testing.py
index 0fb73d268..822eeac8f 100644
--- a/tests/test_config/test_testing.py
+++ b/tests/test_config/test_testing.py
@@ -1,7 +1,7 @@
import unittest
from zope.interface import implementer
-from pyramid.security import AuthenticationAPIMixin, AuthorizationAPIMixin
+from pyramid.security import SecurityAPIMixin, AuthenticationAPIMixin
from pyramid.util import text_
from . import IDummy
@@ -232,7 +232,7 @@ class DummyEvent:
pass
-class DummyRequest(AuthenticationAPIMixin, AuthorizationAPIMixin):
+class DummyRequest(SecurityAPIMixin, AuthenticationAPIMixin):
def __init__(self, environ=None):
if environ is None:
environ = {}