Log message for revision 92751:
  Restore nasty product install for standalone runs.

Changed:
  U   Zope/trunk/lib/python/Products/Five/browser/tests/test_pages.py
  U   Zope/trunk/lib/python/Products/Five/browser/tests/test_resource.py

-=-
Modified: Zope/trunk/lib/python/Products/Five/browser/tests/test_pages.py
===================================================================
--- Zope/trunk/lib/python/Products/Five/browser/tests/test_pages.py     
2008-11-02 07:33:27 UTC (rev 92750)
+++ Zope/trunk/lib/python/Products/Five/browser/tests/test_pages.py     
2008-11-02 12:33:22 UTC (rev 92751)
@@ -15,6 +15,7 @@
 
 $Id$
 """
+import unittest
 
 def test_view_with_unwrapped_context():
     """
@@ -65,10 +66,11 @@
     """
 
 def test_suite():
-    import unittest
+    from Testing.ZopeTestCase import FunctionalDocFileSuite
+    from Testing.ZopeTestCase import ZopeDocFileSuite
     from Testing.ZopeTestCase import ZopeDocTestSuite
-    from Testing.ZopeTestCase import ZopeDocFileSuite
-    from Testing.ZopeTestCase import FunctionalDocFileSuite
+    from Testing.ZopeTestCase import installProduct
+    installProduct('PythonScripts')
     return unittest.TestSuite((
         ZopeDocTestSuite(),
         ZopeDocFileSuite('pages.txt', package='Products.Five.browser.tests'),

Modified: Zope/trunk/lib/python/Products/Five/browser/tests/test_resource.py
===================================================================
--- Zope/trunk/lib/python/Products/Five/browser/tests/test_resource.py  
2008-11-02 07:33:27 UTC (rev 92750)
+++ Zope/trunk/lib/python/Products/Five/browser/tests/test_resource.py  
2008-11-02 12:33:22 UTC (rev 92751)
@@ -15,11 +15,13 @@
 
 $Id$
 """
+import unittest
 
 def test_suite():
-    import unittest
+    from Testing.ZopeTestCase import FunctionalDocFileSuite
     from Testing.ZopeTestCase import ZopeDocFileSuite
-    from Testing.ZopeTestCase import FunctionalDocFileSuite
+    from Testing.ZopeTestCase import installProduct
+    installProduct('PythonScripts')
     return unittest.TestSuite((
             ZopeDocFileSuite('resource.txt',
                              package='Products.Five.browser.tests'),

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to