Author: jmorliaguet
Date: Wed Feb  8 23:40:43 2006
New Revision: 2327

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/__init__.py
   cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/configure.zcml
Log:

- added a test skin to avoid poluting the "cpsskins" layer.



Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/__init__.py
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/__init__.py     
(original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/__init__.py     
Wed Feb  8 23:40:43 2006
@@ -1 +1,9 @@
-#
+
+from zope.publisher.interfaces.browser import ILayer, IDefaultBrowserLayer
+from zope.publisher.interfaces.browser import IBrowserRequest
+
+class ITestLayer(ILayer, IBrowserRequest):
+    """The test layer"""
+
+class ITestSkin(ITestLayer, IDefaultBrowserLayer):
+    """The test skin"""

Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/configure.zcml
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/configure.zcml  
(original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/tests/zope3/configure.zcml  
Wed Feb  8 23:40:43 2006
@@ -1,4 +1,17 @@
-<configure>
+<configure
+  xmlns:browser="http://namespaces.zope.org/browser";>
+
+  <!-- Default cpsskins layer -->
+
+  <browser:layer
+      name="cpsskins-test"
+      interface=".ITestLayer"
+  />
+
+  <browser:skin
+      name="cpsskins-test"
+      interface=".ITestSkin"
+  />
 
   <include package=".functional" />
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to