diff options
| author | Michael Merickel <michael@merickel.org> | 2018-10-14 23:16:48 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-10-14 23:46:11 -0500 |
| commit | dd3cc81f75dcb5ff96e0751653071722a15f46c2 (patch) | |
| tree | 7cfd6140211a21dedd2ddfeb4aa77b7ff4339fa9 /tests/pkgs/staticpermapp | |
| parent | eadaee315eb142d1537d617da58343e3d7f1df0a (diff) | |
| download | pyramid-dd3cc81f75dcb5ff96e0751653071722a15f46c2.tar.gz pyramid-dd3cc81f75dcb5ff96e0751653071722a15f46c2.tar.bz2 pyramid-dd3cc81f75dcb5ff96e0751653071722a15f46c2.zip | |
fix the tests to import from the tests package instead of pyramid.tests
Diffstat (limited to 'tests/pkgs/staticpermapp')
| -rw-r--r-- | tests/pkgs/staticpermapp/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pkgs/staticpermapp/__init__.py b/tests/pkgs/staticpermapp/__init__.py index cc690d937..b5038260f 100644 --- a/tests/pkgs/staticpermapp/__init__.py +++ b/tests/pkgs/staticpermapp/__init__.py @@ -16,10 +16,10 @@ def includeme(config): authz_policy = ACLAuthorizationPolicy() config._set_authentication_policy(authn_policy) config._set_authorization_policy(authz_policy) - config.add_static_view('allowed', 'pyramid.tests:fixtures/static/') - config.add_static_view('protected', 'pyramid.tests:fixtures/static/', + config.add_static_view('allowed', 'tests:fixtures/static/') + config.add_static_view('protected', 'tests:fixtures/static/', permission='view') config.add_static_view('factory_protected', - 'pyramid.tests:fixtures/static/', + 'tests:fixtures/static/', permission='view', factory=LocalRootFactory) |
