summaryrefslogtreecommitdiff
path: root/tests/pkgs
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2020-10-13 23:08:00 -0700
committerTheron Luhn <theron@luhn.com>2020-10-13 23:08:00 -0700
commitab80ac7996bf792ddf3fbcce639e4b6714b401e6 (patch)
tree1b54439857877acda31c0460c0dfb92648daf0b8 /tests/pkgs
parentee7ca28cc51cf40d1190144834704e287c9fc72d (diff)
downloadpyramid-ab80ac7996bf792ddf3fbcce639e4b6714b401e6.tar.gz
pyramid-ab80ac7996bf792ddf3fbcce639e4b6714b401e6.tar.bz2
pyramid-ab80ac7996bf792ddf3fbcce639e4b6714b401e6.zip
Rename `ISecurityPolicy.authenticated_identity` to `identity`
Diffstat (limited to 'tests/pkgs')
-rw-r--r--tests/pkgs/securityapp/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pkgs/securityapp/__init__.py b/tests/pkgs/securityapp/__init__.py
index facc37878..c5b713f23 100644
--- a/tests/pkgs/securityapp/__init__.py
+++ b/tests/pkgs/securityapp/__init__.py
@@ -3,7 +3,7 @@ from pyramid.security import Allowed, Denied
class SecurityPolicy:
- def authenticated_identity(self, request):
+ def identity(self, request):
raise NotImplementedError() # pragma: no cover
def authenticated_userid(self, request):