[Zope-Checkins] SVN: Products.Five/branches/1.4-layers/ adding
layers, bumping version
david whitfield Morriss
whit at longnow.org
Fri Aug 18 19:27:51 EDT 2006
Log message for revision 69676:
adding layers, bumping version
Changed:
A Products.Five/branches/1.4-layers/tests/testing/layer.py
U Products.Five/branches/1.4-layers/version.txt
-=-
Added: Products.Five/branches/1.4-layers/tests/testing/layer.py
===================================================================
--- Products.Five/branches/1.4-layers/tests/testing/layer.py 2006-08-18 23:23:21 UTC (rev 69675)
+++ Products.Five/branches/1.4-layers/tests/testing/layer.py 2006-08-18 23:27:50 UTC (rev 69676)
@@ -0,0 +1,20 @@
+from Testing.ZopeTestCase.utils import setDebugMode
+from Testing.ZopeTestCase.layer import Zope2Layer
+
+class ZCMLLayer:
+ @classmethod
+ def setUp(cls):
+ # this keeps five from hiding config errors while toggle debug
+ # back on to let PTC perform efficiently
+ setDebugMode(1)
+ from Products.Five import zcml
+ zcml.load_site()
+ setDebugMode(0)
+
+ @classmethod
+ def tearDown(cls):
+ from zope.testing.cleanup import cleanUp
+ cleanUp()
+
+class FiveLayer(ZCMLLayer, Zope2Layer):
+ """3 + 2"""
Modified: Products.Five/branches/1.4-layers/version.txt
===================================================================
--- Products.Five/branches/1.4-layers/version.txt 2006-08-18 23:23:21 UTC (rev 69675)
+++ Products.Five/branches/1.4-layers/version.txt 2006-08-18 23:27:50 UTC (rev 69676)
@@ -1 +1 @@
-Five 1.4.1
+Five 1.4.1 (layers mod svn)
More information about the Zope-Checkins
mailing list