SVN: CMF/branches/2.1/CMF - minor cleanup (syncing with trunk)
Yvo Schubbe <[email protected]> Tue, 3 Jul 2007 12:17:38 -0400 (EDT)
| Newsgroups | gmane.comp.web.zope.cmf.cvs |
|---|---|
| Message-ID | <[email protected]> |
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())