source: products/quintagroup.quills.extras/trunk/quintagroup/quills/extras/tests/base.py @ 1225

Last change on this file since 1225 was 1225, checked in by mylan, 15 years ago

Merged revisions 2250-2256,2258 via svnmerge from
http://svn.quintagroup.com/products/quintagroup.quills.extras/branches/no_webresults

........

r2250 | mylan | 2009-08-05 17:50:46 +0300 (Wed, 05 Aug 2009) | 2 lines


moved webresults site cusomizations into elaw.quills.webresults package (#37)

........

r2251 | mylan | 2009-08-05 21:25:35 +0300 (Wed, 05 Aug 2009) | 1 line


Bind off from 4webresults theme skin: rebind resources to IQuillsExtrasLayer (browser layer), change QuillsLinks? portlet registration

........

r2252 | mylan | 2009-08-05 22:28:15 +0300 (Wed, 05 Aug 2009) | 1 line


Fix bug with quills_header_macros

........

r2253 | mylan | 2009-08-06 17:45:39 +0300 (Thu, 06 Aug 2009) | 1 line


Added tests for quills

........

r2254 | mylan | 2009-08-06 17:48:25 +0300 (Thu, 06 Aug 2009) | 1 line


Added support of both qPloneComments or quintagroup.plonecomments products

........

r2255 | mylan | 2009-08-06 19:26:31 +0300 (Thu, 06 Aug 2009) | 1 line


Move entry & weblog macroses from skins to /browser (acording to quills.app v.1.7.3)

........

r2256 | mylan | 2009-08-06 20:18:07 +0300 (Thu, 06 Aug 2009) | 1 line


Debug macroses refactoring, #37

........

r2258 | mylan | 2009-08-07 15:15:54 +0300 (Fri, 07 Aug 2009) | 1 line


Update tests because of integration quills with quintagroup.plonecomments (#37)

........

File size: 1.3 KB
Line 
1# -*- coding: utf-8 -*-
2from Products.Five import zcml
3from Products.Five import fiveconfigure
4from Testing import ZopeTestCase as ztc
5from Products.PloneTestCase import PloneTestCase as ptc
6from Products.PloneTestCase.layer import onsetup
7
8ZOPE_DEPS = []
9PLONE_INSTALL = ['QuillsEnabled', 'AutocompleteWidget', 
10                 'quintagroup.plonecomments', 'quintagroup.quills.extras']
11PLONE_DEPS = ['QuillsEnabled', 'AutocompleteWidget']
12
13@onsetup
14def setup_quillsextras_policy():
15    """The @onsetup decorator causes the execution of this body to be deferred
16    until the setup of the Plone site testing layer.
17    """
18    # Load the ZCML configuration for the quintagroup.quills.extras package
19    # and its dependencies
20    fiveconfigure.debug_mode = True
21    import quintagroup.plonecomments
22    import quintagroup.quills.extras
23    zcml.load_config('configure.zcml', quintagroup.plonecomments)
24    zcml.load_config('overrides.zcml', quintagroup.plonecomments)
25    zcml.load_config('configure.zcml', quintagroup.quills.extras)
26    zcml.load_config('overrides.zcml', quintagroup.quills.extras)
27    fiveconfigure.debug_mode = False
28
29    ztc.installPackage('quintagroup.plonecomments')
30
31for p in PLONE_INSTALL:
32    ztc.installProduct(p)
33
34setup_quillsextras_policy()
35ptc.setupPloneSite(products=PLONE_INSTALL)
Note: See TracBrowser for help on using the repository browser.