[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py Install GenericSetup so -m test_utils works.

Stefan H. Holek stefan at epy.co.at
Sat Mar 1 14:14:14 EST 2008


Log message for revision 84384:
  Install GenericSetup so -m test_utils works.

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py	2008-03-01 12:33:26 UTC (rev 84383)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tests/test_utils.py	2008-03-01 19:14:13 UTC (rev 84384)
@@ -24,6 +24,7 @@
 from OFS.SimpleItem import Item
 from Products.Five.utilities.marker import MarkerInterfacesAdapter
 from Testing.ZopeTestCase import ZopeTestCase
+from Testing.ZopeTestCase import installProduct
 from zope.component import provideAdapter
 from zope.component.interface import provideInterface
 from zope.interface import directlyProvides
@@ -33,7 +34,9 @@
 from Products.GenericSetup.testing import IDummyMarker
 from Products.GenericSetup.utils import PrettyDocument
 
+installProduct('GenericSetup')
 
+
 _EMPTY_PROPERTY_EXPORT = """\
 <?xml version="1.0"?>
 <dummy>



More information about the Checkins mailing list