from zope.testing import doctest from unittest import TestSuite from zope.testing.doctestunit import DocFileSuite from Testing.ZopeTestCase import FunctionalDocFileSuite from Testing.ZopeTestCase import ZopeDocFileSuite from Products.PloneTestCase.PloneTestCase import FunctionalTestCase from Products.PloneTestCase.PloneTestCase import setupPloneSite, installProduct installProduct('PloneBookmarklets') setupPloneSite(extension_profiles=['Products.PloneBookmarklets:default']) oflags = (doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE) prod = 'Products.PloneBookmarklets'
# ################################################################################## __author__ = 'Brent Lambert, David Ray, Jon Thomas' __docformat__ = 'restructuredtext' __version__ = "$Revision: 1 $"[11:-2] from zope.testing import doctest from zope.testing.doctestunit import DocFileSuite from Testing import ZopeTestCase from Testing.ZopeTestCase import FunctionalDocFileSuite, ZopeDocFileSuite, Functional from Testing.ZopeTestCase import ZopeDocFileSuite from Products.PloneTestCase.PloneTestCase import PloneTestCase from Products.PloneTestCase.PloneTestCase import FunctionalTestCase, setupPloneSite, installProduct installProduct('ContentLicensing') installProduct('ZipFileTransport') installProduct('IMSTransport') installProduct('PloneBookmarklets') installProduct('leftskin') installProduct('ProxyIndex') installProduct('eduCommons') installProduct('LinguaPlone') setupPloneSite(with_default_memberarea=0, extension_profiles=['Products.ContentLicensing:default', 'Products.ZipFileTransport:default', 'Products.IMSTransport:default', 'Products.PloneBookmarklets:default', 'Products.LinguaPlone:LinguaPlone',
from zope.testing import doctest from Products.PloneTestCase.PloneTestCase import setupPloneSite, installProduct from Products.PloneTestCase.PloneTestCase import PloneTestCase, FunctionalTestCase installProduct("ContentLicensing") setupPloneSite(extension_profiles=["Products.ContentLicensing:default"]) oflags = doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE prod = "Products.ContentLicensing" class ContentLicensingTestCase(PloneTestCase): """ Test Class """ class ContentLicensingFunctionalTestCase(FunctionalTestCase): """ Functional test class """