diff options
Diffstat (limited to 'src/zope/component/testfiles/views.py')
-rw-r--r-- | src/zope/component/testfiles/views.py | 48 |
1 files changed, 1 insertions, 47 deletions
diff --git a/src/zope/component/testfiles/views.py b/src/zope/component/testfiles/views.py index a017b5f..d2dd3f2 100644 --- a/src/zope/component/testfiles/views.py +++ b/src/zope/component/testfiles/views.py @@ -15,52 +15,6 @@ """ from zope.interface import Interface -from zope.interface import implementer -from zope.interface import directlyProvides -class Request(object): - - def __init__(self, type): - directlyProvides(self, type) - -class IR(Interface): - pass - -class IV(Interface): - def index(): - pass - -class IC(Interface): pass - -@implementer(IV) -class V1(object): - - def __init__(self, context, request): - self.context = context - self.request = request - - def index(self): - return 'V1 here' - - def action(self): - return 'done' - -class VZMI(V1): - def index(self): - return 'ZMI here' - -@implementer(IV) -class R1(object): - - def index(self): - return 'R1 here' - - def action(self): - return 'R done' - - def __init__(self, request): - pass - - -class RZMI(R1): +class IC(Interface): pass |