Skip to content

Commit

Permalink
refactor to ease test conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
gotcha committed Jul 18, 2008
1 parent 8bcf73d commit 7048051
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devel/grokcore.view/src/grokcore/view/tests/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
from grokcore.view import PageTemplate


class TestModel(object):
class Model(object):
interface.implements(IContext)


class TestView(BrowserPage, grokcore.view.ViewMixin):
class View(BrowserPage, grokcore.view.ViewMixin):

def __init__(self, context, request):
super(TestView, self).__init__(context, request)
super(View, self).__init__(context, request)
self._initialize()

def __call__(self):
Expand Down

0 comments on commit 7048051

Please sign in to comment.