summaryrefslogtreecommitdiff
path: root/tests/test_predicates.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_predicates.py')
-rw-r--r--tests/test_predicates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_predicates.py b/tests/test_predicates.py
index b0ee65bcf..533667d75 100644
--- a/tests/test_predicates.py
+++ b/tests/test_predicates.py
@@ -454,7 +454,7 @@ class Test_EffectivePrincipalsPredicate(unittest.TestCase):
def _testing_authn_policy(self, userid, groupids=tuple()):
from pyramid.interfaces import IAuthenticationPolicy, ISecurityPolicy
- from pyramid.security import Everyone, Authenticated
+ from pyramid.authorization import Everyone, Authenticated
from pyramid.security import LegacySecurityPolicy
class DummyPolicy:
@@ -500,7 +500,7 @@ class Test_EffectivePrincipalsPredicate(unittest.TestCase):
self.assertTrue(inst(context, request))
def test_it_call_authentication_policy_provides_superset_implicit(self):
- from pyramid.security import Authenticated
+ from pyramid.authorization import Authenticated
request = testing.DummyRequest()
self._testing_authn_policy('fred', groupids=('verna', 'bambi'))