Home | Trees | Indices | Help |
---|
|
1 ############################################################################## 2 # 3 # Copyright (c) 2005 Zope Corporation and Contributors. All Rights Reserved. 4 # 5 # This software is subject to the provisions of the Zope Public License, 6 # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. 7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED 8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 10 # FOR A PARTICULAR PURPOSE. 11 # 12 ############################################################################## 13 """ icsemantic.langfallback interfaces. 14 """ 15 # pylint: disable-msg=W0232,R0903 16 17 from zope.interface import Interface 1820 """ 21 Decorate user objects with site-local data. 22 First we need some mock class... 23 >>> from minimock import Mock 24 >>> from icsemantic.langfallback.interfaces import IMemberDataTool 25 26 >>> memberdata = Mock('memberdata') 27 >>> memberdata = self.portal.portal_memberdata 28 >>> IMemberDataTool.providedBy(memberdata) 29 True 30 31 """32 36
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu May 15 16:11:41 2008 | http://epydoc.sourceforge.net |