[Zope-CVS] CVS: Products/Zelenium - CHANGES.txt:1.35 zuite.py:1.21

Jens Vagelpohl jens at dataflake.org
Thu Jun 16 08:59:54 EDT 2005


Update of /cvs-repository/Products/Zelenium
In directory cvs.zope.org:/tmp/cvs-serv24617

Modified Files:
	CHANGES.txt zuite.py 
Log Message:
- If debug-mode is set to "on" in zope.conf, filesystem-based testcases
  files are reloaded every time they are used, to ease development of
  filesystem-based test suites. This behavior emulates what the CMF
  Filesystem Directory Views do with debug-mode on. 


=== Products/Zelenium/CHANGES.txt 1.34 => 1.35 ===
--- Products/Zelenium/CHANGES.txt:1.34	Tue Jun  7 13:41:14 2005
+++ Products/Zelenium/CHANGES.txt	Thu Jun 16 08:59:53 2005
@@ -1,5 +1,13 @@
 Zelenium Product Changelog
 
+  After Zelenium-0.7
+
+    - If debug-mode is set to "on" in zope.conf, filesystem-based testcases
+      files are reloaded every time they are used, to ease development of
+      filesystem-based test suites. This behavior emulates what the CMF
+      Filesystem Directory Views do with debug-mode on.
+
+
   Zelenium-0.7 (2005/06/07)
 
     - CVS tag:  'Zelenium-0_7'


=== Products/Zelenium/zuite.py 1.20 => 1.21 ===
--- Products/Zelenium/zuite.py:1.20	Tue May 10 10:55:20 2005
+++ Products/Zelenium/zuite.py	Thu Jun 16 08:59:53 2005
@@ -14,6 +14,7 @@
 from AccessControl.SecurityInfo import ClassSecurityInfo
 from App.special_dtml import DTMLFile
 from App.ImageFile import ImageFile
+from App.config import getConfiguration
 from DateTime.DateTime import DateTime
 from Globals import package_home
 from Globals import InitializeClass
@@ -388,7 +389,8 @@
     def _listFilesystemObjects( self ):
         """ Return a mapping of any filesystem objects we "hold".
         """
-        if self._v_filesystem_objects is not None:
+        if ( self._v_filesystem_objects is not None and
+             not getConfiguration().debug_mode ):
             return self._v_filesystem_objects
 
         if not self.filesystem_path:



More information about the Zope-CVS mailing list