[CMF-checkins] SVN: CMF/branches/2.1/CMFUid/testing.py Merged trunk r84394 into 2.1 branch.

Stefan H. Holek stefan at epy.co.at
Sun Mar 2 06:25:20 EST 2008


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,)
+



More information about the CMF-checkins mailing list