~ubuntu-branches/ubuntu/utopic/zope.container/utopic

« back to all changes in this revision

Viewing changes to src/zope/container/tests/test_dependencies.py

  • Committer: Gediminas Paulauskas
  • Date: 2011-08-12 12:47:13 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: menesis@pov.lt-20110812124713-6vjm8q1wc7o31w0j
Tags: 3.12.0-0ubuntu1
* New upstream release.
  - Now includes a license.
* debian/patches: remove the automatic patch that added the license.
* Needs van.pydeb (>= 1.3.3) to correctly handle "zope.security[zcml]>=3.8"
  dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
class ZCMLDependencies(ContainerPlacelessSetup, unittest.TestCase):
15
15
 
16
 
    def test_zcml_can_load_with_only_zope_component_meta(self):
 
16
    def test_zcml_can_load(self):
17
17
        # this is just an example.  It is supposed to show that the
18
18
        # configure.zcml file has loaded successfully.
19
19
 
20
 
        import zope.component
21
 
        XMLConfig('meta.zcml', zope.component)()
22
 
 
23
 
        import zope.security
24
 
        XMLConfig('meta.zcml', zope.security)()
25
 
        XMLConfig('permissions.zcml', zope.security)()
26
 
 
27
20
        import zope.container
28
21
        XMLConfig('configure.zcml', zope.container)()
29
22