Log message for revision 69841: Oops Changed: A Products.Five/trunk/browser/tests/classes.py
-=- Added: Products.Five/trunk/browser/tests/classes.py =================================================================== --- Products.Five/trunk/browser/tests/classes.py 2006-08-29 14:42:48 UTC (rev 69840) +++ Products.Five/trunk/browser/tests/classes.py 2006-08-29 14:46:16 UTC (rev 69841) @@ -0,0 +1,31 @@ +############################################################################## +# +# Copyright (c) 2004, 2005 Zope Corporation and Contributors. +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## +"""Test fixtures +""" +from zope.interface import Interface, implements +from Products.Five import BrowserView + +class IOne(Interface): + """This is a Zope 3 interface. + """ + +class One(object): + 'A class' + implements(IOne) + +class ViewOne(BrowserView): + 'Yet another class' + + def my_method(self, arg1, arg2, kw1=None, kw2='D'): + print "CALLED %s %s %s %s" % (arg1, arg2, kw1, kw2) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins