[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/Five/browser/tests/test_ Restore nasty product install for standalone runs.
Tres Seaver
tseaver at palladion.com
Sun Nov 2 07:33:24 EST 2008
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'),
More information about the Zope-Checkins
mailing list