Commit 78a6c1ba authored by Tres Seaver's avatar Tres Seaver

Restore nasty product install for standalone runs.

parent 02c910a7
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
$Id$ $Id$
""" """
import unittest
def test_view_with_unwrapped_context(): def test_view_with_unwrapped_context():
""" """
...@@ -65,10 +66,11 @@ def test_view_with_unwrapped_context(): ...@@ -65,10 +66,11 @@ def test_view_with_unwrapped_context():
""" """
def test_suite(): def test_suite():
import unittest
from Testing.ZopeTestCase import ZopeDocTestSuite
from Testing.ZopeTestCase import ZopeDocFileSuite
from Testing.ZopeTestCase import FunctionalDocFileSuite from Testing.ZopeTestCase import FunctionalDocFileSuite
from Testing.ZopeTestCase import ZopeDocFileSuite
from Testing.ZopeTestCase import ZopeDocTestSuite
from Testing.ZopeTestCase import installProduct
installProduct('PythonScripts')
return unittest.TestSuite(( return unittest.TestSuite((
ZopeDocTestSuite(), ZopeDocTestSuite(),
ZopeDocFileSuite('pages.txt', package='Products.Five.browser.tests'), ZopeDocFileSuite('pages.txt', package='Products.Five.browser.tests'),
......
...@@ -15,11 +15,13 @@ ...@@ -15,11 +15,13 @@
$Id$ $Id$
""" """
import unittest
def test_suite(): def test_suite():
import unittest
from Testing.ZopeTestCase import ZopeDocFileSuite
from Testing.ZopeTestCase import FunctionalDocFileSuite from Testing.ZopeTestCase import FunctionalDocFileSuite
from Testing.ZopeTestCase import ZopeDocFileSuite
from Testing.ZopeTestCase import installProduct
installProduct('PythonScripts')
return unittest.TestSuite(( return unittest.TestSuite((
ZopeDocFileSuite('resource.txt', ZopeDocFileSuite('resource.txt',
package='Products.Five.browser.tests'), package='Products.Five.browser.tests'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment