[Zope3-checkins] CVS: Zope3/src/zope/app/component/tests - test_directives.py:1.16

Jim Fulton cvs-admin at zope.org
Fri Nov 21 12:10:25 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/component/tests
In directory cvs.zope.org:/tmp/cvs-serv30489/src/zope/app/component/tests

Modified Files:
	test_directives.py 
Log Message:
Layers must now be defined before the are used.


=== Zope3/src/zope/app/component/tests/test_directives.py 1.15 => 1.16 ===
--- Zope3/src/zope/app/component/tests/test_directives.py:1.15	Sun Sep 21 13:31:25 2003
+++ Zope3/src/zope/app/component/tests/test_directives.py	Fri Nov 21 12:10:24 2003
@@ -395,8 +395,8 @@
 
         xmlconfig(StringIO(template % (
             """
-            <skin name="zmi" layers="zmi default"
-                  type="zope.component.tests.views.IV" />
+            <layer name="zmi" />
+            <skin name="zmi" layers="zmi default" />
             <view name="test"
                   factory="zope.component.tests.views.VZMI"
                   layer="zmi"
@@ -452,8 +452,8 @@
 
         xmlconfig(StringIO(template % (
             """
-            <skin name="zmi" layers="zmi default"
-                  type="zope.component.tests.views.IV" />
+            <layer name="zmi" />
+            <skin name="zmi" layers="zmi default" />
             <resource name="test"
                   factory="zope.component.tests.views.RZMI"
                   layer="zmi"




More information about the Zope3-Checkins mailing list