diff options
| author | Theron Luhn <theron@luhn.com> | 2019-03-09 13:27:13 -0800 |
|---|---|---|
| committer | Theron Luhn <theron@luhn.com> | 2019-03-09 13:40:17 -0800 |
| commit | 8a1f8d4acc77cd9fe57405384b5c20e9fa3fb078 (patch) | |
| tree | da701faa22bc78f7f8f2f7de3773cb4529142bd9 /tests/pkgs/staticpermapp | |
| parent | 94a16a7ddd7e9d313e1b447bf478bc51c053e58a (diff) | |
| download | pyramid-8a1f8d4acc77cd9fe57405384b5c20e9fa3fb078.tar.gz pyramid-8a1f8d4acc77cd9fe57405384b5c20e9fa3fb078.tar.bz2 pyramid-8a1f8d4acc77cd9fe57405384b5c20e9fa3fb078.zip | |
Get integration tests working again.
Diffstat (limited to 'tests/pkgs/staticpermapp')
| -rw-r--r-- | tests/pkgs/staticpermapp/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pkgs/staticpermapp/__init__.py b/tests/pkgs/staticpermapp/__init__.py index ffc87d39a..a12eac2d3 100644 --- a/tests/pkgs/staticpermapp/__init__.py +++ b/tests/pkgs/staticpermapp/__init__.py @@ -18,8 +18,8 @@ def includeme(config): authn_policy = RemoteUserAuthenticationPolicy() authz_policy = ACLAuthorizationPolicy() - config._set_authentication_policy(authn_policy) - config._set_authorization_policy(authz_policy) + config.set_authentication_policy(authn_policy) + config.set_authorization_policy(authz_policy) config.add_static_view('allowed', 'tests:fixtures/static/') config.add_static_view( 'protected', 'tests:fixtures/static/', permission='view' |
