|
1 | 1 | # -*- coding: utf-8 -*- |
| 2 | +from design.plone.contenttypes.testing import DesignPloneContenttypesLayer |
| 3 | +from design.plone.contenttypes.testing import DesignPloneContenttypesRestApiLayer |
| 4 | +from plone.app.contenttypes.testing import PLONE_APP_CONTENTTYPES_FIXTURE |
| 5 | +from plone.app.robotframework.testing import REMOTE_LIBRARY_BUNDLE_FIXTURE |
| 6 | +from plone.app.testing import applyProfile |
| 7 | +from plone.app.testing import FunctionalTesting |
| 8 | +from plone.app.testing import IntegrationTesting |
| 9 | +from plone.testing import z2 |
| 10 | +from zope.globalrequest import setRequest |
| 11 | + |
2 | 12 | import collective.feedback |
3 | 13 | import collective.MockMailHost |
4 | 14 | import collective.taxonomy |
| 15 | +import collective.volto.contactsblock |
5 | 16 | import collective.volto.dropdownmenu |
6 | 17 | import collective.volto.formsupport |
7 | 18 | import collective.volto.secondarymenu |
|
16 | 27 | import redturtle.faq |
17 | 28 | import redturtle.voltoplugin.editablefooter |
18 | 29 | import souper.plone |
19 | | -from design.plone.contenttypes.testing import ( |
20 | | - DesignPloneContenttypesLayer, |
21 | | - DesignPloneContenttypesRestApiLayer, |
22 | | -) |
23 | | -from plone.app.contenttypes.testing import PLONE_APP_CONTENTTYPES_FIXTURE |
24 | | -from plone.app.robotframework.testing import REMOTE_LIBRARY_BUNDLE_FIXTURE |
25 | | -from plone.app.testing import FunctionalTesting, IntegrationTesting, applyProfile |
26 | | -from plone.testing import z2 |
27 | | -from zope.globalrequest import setRequest |
28 | 30 |
|
29 | 31 |
|
30 | 32 | class FauxRequest(dict): |
@@ -53,6 +55,7 @@ def setUpZope(self, app, configurationContext): |
53 | 55 | self.loadZCML(package=plone.app.contentlisting) |
54 | 56 | self.loadZCML(package=souper.plone) |
55 | 57 | self.loadZCML(package=redturtle.faq) |
| 58 | + self.loadZCML(package=collective.volto.contactsblock) |
56 | 59 |
|
57 | 60 | def setUpPloneSite(self, portal): |
58 | 61 | super().setUpPloneSite(portal) |
@@ -136,6 +139,7 @@ def setUpZope(self, app, configurationContext): |
136 | 139 | self.loadZCML(package=redturtle.faq) |
137 | 140 | self.loadZCML(package=souper.plone) |
138 | 141 | self.loadZCML(package=redturtle.faq) |
| 142 | + self.loadZCML(package=collective.volto.contactsblock) |
139 | 143 |
|
140 | 144 | def setUpPloneSite(self, portal): |
141 | 145 | super().setUpPloneSite(portal) |
|
0 commit comments