Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zope-container
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
zope-container
Commits
3827938e
Commit
3827938e
authored
Sep 19, 2010
by
Thomas Lotze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed zcml-related tests and dependencies
parent
14b41ba5
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
21 deletions
+10
-21
CHANGES.txt
CHANGES.txt
+2
-0
setup.py
setup.py
+3
-3
src/zope/container/configure.zcml
src/zope/container/configure.zcml
+4
-0
src/zope/container/tests/ftest_zcml_dependencies.zcml
src/zope/container/tests/ftest_zcml_dependencies.zcml
+0
-10
src/zope/container/tests/test_dependencies.py
src/zope/container/tests/test_dependencies.py
+1
-8
No files found.
CHANGES.txt
View file @
3827938e
...
...
@@ -8,6 +8,8 @@ CHANGES
- Fix detection of moving folders into itself or a subfolder of itself.
(#118088)
- Fixed ZCML-related tests and dependencies.
3.11.1 (2010-04-30)
-------------------
...
...
setup.py
View file @
3827938e
...
...
@@ -62,16 +62,16 @@ setup(name='zope.container',
],
extras_require
=
dict
(
test
=
[
'zope.configuration'
,
'zope.
security
'
,
'zope.
testing
'
,
]),
install_requires
=
[
'setuptools'
,
'zope.interface'
,
'zope.dottedname'
,
'zope.schema'
,
'zope.component'
,
'zope.component
[zcml]
'
,
'zope.event'
,
'zope.location>=3.5.4'
,
'zope.security'
,
'zope.security
[zcml]>=3.8.0dev
'
,
'zope.lifecycleevent>=3.5.2'
,
'zope.i18nmessageid'
,
'zope.filerepresentation'
,
...
...
src/zope/container/configure.zcml
View file @
3827938e
...
...
@@ -3,6 +3,10 @@
i18n_domain="zope"
>
<include file="meta.zcml" package="zope.component" />
<include file="meta.zcml" package="zope.security" />
<include file="permissions.zcml" package="zope.security" />
<adapter
provides=".interfaces.IFind"
for=".interfaces.IReadContainer"
...
...
src/zope/container/tests/ftest_zcml_dependencies.zcml
deleted
100644 → 0
View file @
14b41ba5
<configure
xmlns="http://namespaces.zope.org/zope">
<include package="zope.component" file="meta.zcml"/>
<include package="zope.security" file="meta.zcml" />
<include package="zope.security" file="permissions.zcml" />
<include package="zope.container"/>
</configure>
src/zope/container/tests/test_dependencies.py
View file @
3827938e
...
...
@@ -13,17 +13,10 @@ from zope.container.testing import ContainerPlacelessSetup
class
ZCMLDependencies
(
ContainerPlacelessSetup
,
unittest
.
TestCase
):
def
test_zcml_can_load
_with_only_zope_component_meta
(
self
):
def
test_zcml_can_load
(
self
):
# this is just an example. It is supposed to show that the
# configure.zcml file has loaded successfully.
import
zope.component
XMLConfig
(
'meta.zcml'
,
zope
.
component
)()
import
zope.security
XMLConfig
(
'meta.zcml'
,
zope
.
security
)()
XMLConfig
(
'permissions.zcml'
,
zope
.
security
)()
import
zope.container
XMLConfig
(
'configure.zcml'
,
zope
.
container
)()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment