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

R. David Murray bitz@bitdance.com
Mon, 14 Oct 2002 18:38:49 -0400


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

Modified Files:
      Tag: rdmurray-metameta-branch
	testDirectivesXML.py 
Log Message:
Now that subdirective is defined recursively, extend the nesting level
in the tests to make sure its working.


=== Zope3/lib/python/Zope/Configuration/tests/testDirectivesXML.py 1.4 => 1.4.4.1 ===
--- Zope3/lib/python/Zope/Configuration/tests/testDirectivesXML.py:1.4	Sun Sep 22 14:43:40 2002
+++ Zope3/lib/python/Zope/Configuration/tests/testDirectivesXML.py	Mon Oct 14 18:38:49 2002
@@ -107,7 +107,11 @@
                     handler="Zope.Configuration.tests.Directives.protectClass">
                        <subdirective name="subsub">
                          <subdirective name="subsub">
-                           <subdirective name="protect"/>
+                           <subdirective name="subsub">
+                             <subdirective name="subsub">
+                               <subdirective name="protect"/>
+                             </subdirective>
+                           </subdirective>
                          </subdirective>
                        </subdirective>
                  </directive>
@@ -118,7 +122,11 @@
                >
                  <test:subsub>
                    <test:subsub>
-                     <test:protect permission="beep" names="update" />
+                     <test:subsub>
+                       <test:subsub>
+                         <test:protect permission="beep" names="update" />
+                       </test:subsub>
+                     </test:subsub>
                    </test:subsub>
                  </test:subsub>
                </test:protectClass>'''