from webob import Response
from zope.interface import Interface

from pyramid.httpexceptions import HTTPForbidden


def fixture_view(context, request):
    """ """
    return Response('fixture')


def erroneous_view(context, request):
    """ """
    raise RuntimeError()


def exception_view(context, request):
    """ """
    return Response('supressed')


def protected_view(context, request):
    """ """
    raise HTTPForbidden()


class IDummy(Interface):
    pass
