source: products/vendor/Products.CacheSetup/current/Products/CacheSetup/tests/base.py @ 3296

Last change on this file since 3296 was 3296, checked in by fenix, 13 years ago

Load Products.CacheSetup?-1.2.1 into vendor/Products.CacheSetup?/current.

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1from Products.CacheSetup.config import PROJECT_NAME
2from Testing import ZopeTestCase
3
4# Let Zope know about the two products we require above-and-beyond a basic
5# Plone install (PloneTestCase takes care of these).
6ZopeTestCase.installProduct(PROJECT_NAME)
7
8# Let Zope know about the two products we require above-and-beyond a basic
9# Plone install (PloneTestCase takes care of these).
10#ZopeTestCase.installProduct('PageCacheManager')
11ZopeTestCase.installProduct('CMFSquidTool')
12#ZopeTestCase.installProduct('PythonScripts')
13#ZopeTestCase.installProduct(PROJECT_NAME)
14
15# Import PloneTestCase - this registers more products with Zope as a side effect
16from Products.PloneTestCase.PloneTestCase import PloneTestCase
17from Products.PloneTestCase.PloneTestCase import FunctionalTestCase
18from Products.PloneTestCase.PloneTestCase import setupPloneSite
19
20# Set up a Plone site
21setupPloneSite(products=[PROJECT_NAME])
22
23class CacheFuTestCase(PloneTestCase):
24    """Base class for integration tests for the 'CacheSetup' product. This may
25    provide specific set-up and tear-down operations, or provide convenience
26    methods.
27    """
28class CacheFuFunctionalTestCase(FunctionalTestCase):
29    """Base class for functional integration tests for the 'CacheSetup' product.
30    This may provide specific set-up and tear-down operations, or provide
31    convenience methods.
32    """
Note: See TracBrowser for help on using the repository browser.