/usr/share/pyshared/zc/resourcelibrary/tests/ftesting.zcml is in python-zc.resourcelibrary 1.3.4-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | <configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:zc="http://namespaces.zope.com/zc"
i18n_domain="zope"
package="zc.resourcelibrary.tests"
>
<!-- set up enough of Zope to run the tests -->
<include package="zope.app.zcmlfiles" />
<!-- principals -->
<unauthenticatedPrincipal
id="zope.anybody"
title="Unauthenticated User" />
<include package="zope.securitypolicy" file="meta.zcml"/>
<securityPolicy
component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
<role id="zope.Anonymous" title="Everybody"
description="All users have this role implicitly" />
<grant permission="zope.View"
role="zope.Anonymous" />
<!-- also need the resource library config -->
<include package="zc.resourcelibrary" file="meta.zcml"/>
<include package="zc.resourcelibrary"/>
<!-- make some pages to use in the tests -->
<browser:page
for="zope.app.folder.interfaces.IFolder"
name="zc.resourcelibrary.test_template_1"
permission="zope.View"
template="test_template_1.pt"
/>
<browser:page
for="zope.app.folder.interfaces.IFolder"
name="zc.resourcelibrary.test_template_2"
permission="zope.View"
template="test_template_2.pt"
/>
<browser:page
for="zope.app.folder.interfaces.IFolder"
name="zc.resourcelibrary.test_template_3"
permission="zope.View"
template="test_template_3.pt"
/>
<browser:page
for="zope.app.folder.interfaces.IFolder"
name="zc.resourcelibrary.test_template_4"
permission="zope.View"
template="test_template_4.pt"
/>
<browser:page
for="zope.app.folder.interfaces.IFolder"
name="zc.resourcelibrary.test_template_5"
permission="zope.View"
template="test_template_5.pt"
/>
<browser:page
for="zope.app.folder.interfaces.IFolder"
name="zc.resourcelibrary.test_template_6"
permission="zope.View"
template="test_template_6.pt"
/>
<browser:page
for="zope.app.folder.interfaces.IFolder"
name="zc.resourcelibrary.test_template_7"
permission="zope.View"
template="test_template_7.pt"
/>
</configure>
|