/usr/lib/python3/dist-packages/pyramid/tests/pkgs/fixtureapp/__init__.py is in python3-pyramid 1.6+dfsg-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | def includeme(config):
config.add_view('.views.fixture_view')
config.add_view('.views.exception_view', context=RuntimeError)
config.add_view('.views.protected_view', name='protected.html')
config.add_view('.views.erroneous_view', name='error.html')
config.add_view('.views.fixture_view', name='dummyskin.html',
request_type='.views.IDummy')
from .models import fixture, IFixture
config.registry.registerUtility(fixture, IFixture)
config.add_view('.views.fixture_view', name='another.html')
|