source: main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/ftesting.zcml @ 10079

Last change on this file since 10079 was 9106, checked in by uli, 12 years ago

Register the simple job container installer with functional tests. For
real async tests we need more, but that's very expensive to install
and can be done in respective single test cases (setUp and tearDown)
if needed.

  • Property svn:style set to native
File size: 1.7 KB
Line 
1<configure
2   xmlns="http://namespaces.zope.org/zope"
3   xmlns:kofa="http://namespaces.waeup.org/kofa"
4   i18n_domain="waeup.kofa"
5   package="waeup.kofa"
6   >
7
8  <include package="grok" />
9  <includeOverrides package="waeup.kofa" />
10  <include package="waeup.kofa" file="mail.zcml" />
11  <include package="waeup.kofa" file="async_single.zcml" />
12
13  <!-- Where should the datacenter reside by default? -->
14  <kofa:datacenter
15      path="../../../parts/test/datacenter" />
16
17  <!-- Typical functional testing security setup -->
18  <securityPolicy
19      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
20      />
21
22  <unauthenticatedPrincipal
23      id="zope.anybody"
24      title="Unauthenticated User"
25      />
26  <unauthenticatedGroup id="zope.Anybody"
27      title="Unauthenticated Users" />
28  <authenticatedGroup id="zope.Authenticated"
29      title="Authenticated Users" />
30  <everybodyGroup id="zope.Everybody"
31      title="All Users" />
32
33  <!-- grant
34      permission="zope.View"
35      principal="zope.Anybody"
36      / -->
37  <grant
38      permission="zope.app.dublincore.view"
39      principal="zope.Anybody" />
40  <grant
41      permission="zope.View"
42      principal="zope.Authenticated"
43      />
44  <grant
45      permission="zope.app.dublincore.view"
46      principal="zope.Authenticated"
47      />
48  <grant
49      permission="waeup.Public"
50      principal="zope.Everybody"
51      />
52  <grant
53      permission="waeup.Anonymous"
54      principal="zope.Anybody"
55      />
56
57
58  <principal
59      id="zope.mgr"
60      title="Manager"
61      login="mgr"
62      password="mgrpw"
63      />
64
65  <role id="zope.Manager" title="Site Manager" />
66  <grantAll role="zope.Manager" />
67  <grant role="zope.Manager" principal="zope.mgr" />
68
69</configure>
Note: See TracBrowser for help on using the repository browser.