[CMF-checkins] SVN: CMF/branches/2.1/CMF - minor cleanup (syncing
with trunk)
Yvo Schubbe
y.2007- at wcm-solutions.de
Tue Jul 3 12:17:38 EDT 2007
Log message for revision 77369:
- minor cleanup (syncing with trunk)
Changed:
U CMF/branches/2.1/CMFDefault/browser/document.txt
U CMF/branches/2.1/CMFTopic/tests/common.py
-=-
Modified: CMF/branches/2.1/CMFDefault/browser/document.txt
===================================================================
--- CMF/branches/2.1/CMFDefault/browser/document.txt 2007-07-03 16:14:57 UTC (rev 77368)
+++ CMF/branches/2.1/CMFDefault/browser/document.txt 2007-07-03 16:17:37 UTC (rev 77369)
@@ -8,6 +8,8 @@
>>> uf = app.site.acl_users
>>> uf._doAddUser('mgr', 'mgrpw', ['Manager'], [])
+ >>> from zope.app.component.hooks import setSite
+ >>> setSite(app.site)
Create the browser object we'll be using.
Modified: CMF/branches/2.1/CMFTopic/tests/common.py
===================================================================
--- CMF/branches/2.1/CMFTopic/tests/common.py 2007-07-03 16:14:57 UTC (rev 77368)
+++ CMF/branches/2.1/CMFTopic/tests/common.py 2007-07-03 16:17:37 UTC (rev 77369)
@@ -33,4 +33,4 @@
from zope.interface.verify import verifyClass
from Products.CMFTopic.interfaces import ICriterion
- verifyClass( ICriterion, self._getTargetClass() )
+ verifyClass(ICriterion, self._getTargetClass())
More information about the CMF-checkins
mailing list