[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate/tests - testHTMLTests.py:1.1.2.11 util.py:1.1.2.11
Jim Fulton
jim@zope.com
Fri, 7 Jun 2002 10:41:55 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate/tests
In directory cvs.zope.org:/tmp/cvs-serv12187/lib/python/Zope/PageTemplate/tests
Modified Files:
Tag: Zope-3x-branch
testHTMLTests.py util.py
Log Message:
Merging in Zope3InWonderland-branch, which implemented the following
proposals (see
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/OldProposals):
- RenameAllowToRequire
- GroupClassRelatedDirectivesInClassDirective
- ViewInterfaceAndSimplification
- ConsistentUseOfSpacesAsDelimitersInZCMLAttributes
- TwoArgumentViewConstructors
- ImplementsInZCML
- SimpleViewCreationInZCML
- RemoveGetView
- ReplaceProtectWithAllow
- ViewMethodsAsViews
- MergeProtectionAndComponentDefinitions
There were also various security fixes resulting of better integration
of security with components.
=== Zope3/lib/python/Zope/PageTemplate/tests/testHTMLTests.py 1.1.2.10 => 1.1.2.11 ===
class Folder:
- def getContext(self):
- return self
+ context = property(lambda self: self)
class HTMLTests(unittest.TestCase):
=== Zope3/lib/python/Zope/PageTemplate/tests/util.py 1.1.2.10 => 1.1.2.11 ===
return self
- def getContext(self):
- return self
+ context = property(lambda self: self)
def nicerange(lo, hi):
if hi <= lo+1: