[Checkins]
SVN: Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/ftesting.zcml
Add a dummy ftesting layer.
Uli Fouquet
uli at gnufix.de
Sat Feb 2 04:11:51 EST 2008
Log message for revision 83399:
Add a dummy ftesting layer.
Changed:
U Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/ftesting.zcml
-=-
Modified: Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/ftesting.zcml
===================================================================
--- Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/ftesting.zcml 2008-02-02 09:06:19 UTC (rev 83398)
+++ Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/ftesting.zcml 2008-02-02 09:11:51 UTC (rev 83399)
@@ -1,35 +1,14 @@
<configure
xmlns="http://namespaces.zope.org/zope"
- xmlns:grok="http://namespaces.zope.org/grok"
- i18n_domain="grok"
- package="grok"
+ i18n_domain="zope"
>
- <include package="grok" />
- <grok:grok package="grok.ftests" />
+ <!--
+ This is only a dummy layer to enable local tests and avoid
+ dependencies from packages we do not need badly.
- <securityPolicy
- component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
- />
+ For tests that include testbrowser tests and similar, write your
+ own ftesting.zcml with registration of principals etc.
+ -->
- <unauthenticatedPrincipal
- id="zope.anybody"
- title="Unauthenticated User"
- />
- <grant
- permission="zope.View"
- principal="zope.anybody"
- />
-
- <principal
- id="zope.mgr"
- title="Manager"
- login="mgr"
- password="mgrpw"
- />
-
- <role id="zope.Manager" title="Site Manager" />
- <grantAll role="zope.Manager" />
- <grant role="zope.Manager" principal="zope.mgr" />
-
</configure>
More information about the Checkins
mailing list