[Zope3-checkins] CVS: Zope3/lib/python/Zope/Configuration/tests - testDirectivesXML.py:1.4

R. David Murray bitz@bitdance.com
Sun, 22 Sep 2002 14:43:40 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Configuration/tests
In directory cvs.zope.org:/tmp/cvs-serv16807

Modified Files:
	testDirectivesXML.py 
Log Message:
Extend Zope/Configuration's SubSubdirective test to test all three
levels of subdirective declared in the bootstrap dictionary.  This
reveals another bug in the Subdirective class.


=== Zope3/lib/python/Zope/Configuration/tests/testDirectivesXML.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/Configuration/tests/testDirectivesXML.py:1.3	Sun Sep 22 12:05:18 2002
+++ Zope3/lib/python/Zope/Configuration/tests/testDirectivesXML.py	Sun Sep 22 14:43:40 2002
@@ -106,7 +106,9 @@
                  <directive name="protectClass"
                     handler="Zope.Configuration.tests.Directives.protectClass">
                        <subdirective name="subsub">
+                         <subdirective name="subsub">
                            <subdirective name="protect"/>
+                         </subdirective>
                        </subdirective>
                  </directive>
                </directives>
@@ -115,7 +117,9 @@
                    name=".Contact" permission="splat" names="update"
                >
                  <test:subsub>
-                   <test:protect permission="beep" names="update" />
+                   <test:subsub>
+                     <test:protect permission="beep" names="update" />
+                   </test:subsub>
                  </test:subsub>
                </test:protectClass>'''
             )))