summaryrefslogtreecommitdiff
path: root/tests/pkgs/restbugapp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkgs/restbugapp/views.py')
-rw-r--r--tests/pkgs/restbugapp/views.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/pkgs/restbugapp/views.py b/tests/pkgs/restbugapp/views.py
index 2ace59fa9..161321aed 100644
--- a/tests/pkgs/restbugapp/views.py
+++ b/tests/pkgs/restbugapp/views.py
@@ -1,15 +1,17 @@
from pyramid.response import Response
+
class BaseRESTView(object):
def __init__(self, context, request):
self.context = context
self.request = request
-
+
+
class PetRESTView(BaseRESTView):
""" REST Controller to control action of an avatar """
+
def __init__(self, context, request):
super(PetRESTView, self).__init__(context, request)
def GET(self):
return Response('gotten')
-