Log message for revision 84395:
  Merged trunk r84394 into 2.1 branch.
  
  Base yet another ZCMLLayer on ZopeLite.
  

Changed:
  U   CMF/branches/2.1/CMFUid/testing.py

-=-
Modified: CMF/branches/2.1/CMFUid/testing.py
===================================================================
--- CMF/branches/2.1/CMFUid/testing.py  2008-03-02 11:16:41 UTC (rev 84394)
+++ CMF/branches/2.1/CMFUid/testing.py  2008-03-02 11:25:19 UTC (rev 84395)
@@ -17,3 +17,12 @@
     def testTearDown(cls):
         cleanUp()
 
+
+# Derive from ZopeLite layer if available
+try:
+    from Testing.ZopeTestCase.layer import ZopeLite
+except ImportError:
+    pass # Zope < 2.11
+else:
+    UidEventZCMLLayer.__bases__ = (ZopeLite,)
+

_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins

Reply via email to