[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture/tests - TestViews.py:1.1.2.1

Andreas Jung andreas@digicool.com
Thu, 10 Jan 2002 16:55:23 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture/tests
In directory cvs.zope.org:/tmp/cvs-serv20168/lib/python/Zope/ComponentArchitecture/tests

Added Files:
      Tag: Zope-3x-branch
	TestViews.py 
Log Message:
added tests for view directive 
fixed layer support in view directive
fixed skin directive



=== Added File Zope3/lib/python/Zope/ComponentArchitecture/tests/TestViews.py ===
##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
# 
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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
# 
##############################################################################
"""

Revision information: $Id: TestViews.py,v 1.1.2.1 2002/01/10 21:55:22 andreasjung Exp $
"""

from Interface import Interface

class IV(Interface): pass
class IC(Interface): pass

class V1:
    __implements__ = IV

    def __init__(self,context): 
        self._context = context 

class VZMI(V1):
    pass