[Checkins] SVN: Zelenium/trunk/ - Fix unit tests by wrapping filesystem objects that are rendered

Jens Vagelpohl jens at dataflake.org
Tue May 16 06:59:16 EDT 2006


Log message for revision 68144:
  - Fix unit tests by wrapping filesystem objects that are rendered
    during ZIP file creation - code in OFS.Image wants to acquire
    REQUEST and use RESPONSE.
  

Changed:
  U   Zelenium/trunk/CHANGES.txt
  U   Zelenium/trunk/zuite.py

-=-
Modified: Zelenium/trunk/CHANGES.txt
===================================================================
--- Zelenium/trunk/CHANGES.txt	2006-05-16 10:51:55 UTC (rev 68143)
+++ Zelenium/trunk/CHANGES.txt	2006-05-16 10:59:15 UTC (rev 68144)
@@ -2,6 +2,10 @@
 
   After Zelenium-0.7
 
+    - Fix unit tests by wrapping filesystem objects that are rendered
+      during ZIP file creation - code in OFS.Image wants to acquire
+      REQUEST and use RESPONSE.
+
     - Found how to make the dependency on ExternalEditor optionsl (thanks
       to Andreas Jung for the bug report).
 

Modified: Zelenium/trunk/zuite.py
===================================================================
--- Zelenium/trunk/zuite.py	2006-05-16 10:51:55 UTC (rev 68143)
+++ Zelenium/trunk/zuite.py	2006-05-16 10:59:15 UTC (rev 68144)
@@ -513,7 +513,7 @@
         if include_selenium:
 
             for k, v in _SUPPORT_FILES.items():
-                archive.writestr( k, v.manage_FTPget() )
+                archive.writestr( k, v.__of__(self).manage_FTPget() )
 
         archive.close()
         return stream.getvalue()



More information about the Checkins mailing list