Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20d4d86
commit aee6217
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from plone.app.testing import PloneSandboxLayer | ||
from plone.app.testing import PLONE_FIXTURE | ||
from plone.app.contenttypes.testing import PLONE_APP_CONTENTTYPES_FIXTURE | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
datakurre
Member
|
||
|
||
from plone.app.testing import applyProfile | ||
|
||
from zope.configuration import xmlconfig | ||
|
@@ -8,7 +9,7 @@ | |
|
||
|
||
class Theming(PloneSandboxLayer): | ||
defaultBases = (PLONE_FIXTURE,) | ||
defaultBases = (PLONE_APP_CONTENTTYPES_FIXTURE,) | ||
|
||
def setUpZope(self, app, configurationContext): | ||
# load ZCML | ||
|
@@ -25,7 +26,7 @@ def setUpPloneSite(self, portal): | |
|
||
|
||
class ThemingWithCaching(Theming): | ||
defaultBases = (PLONE_FIXTURE,) | ||
defaultBases = (PLONE_APP_CONTENTTYPES_FIXTURE,) | ||
|
||
def setUpZope(self, app, configurationContext): | ||
# load ZCML | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit aee6217
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing information:
- plone-5.0-python-2.7 - http://jenkins.plone.org/job/plone-5.0-python-2.7/252/ [FAIL]
- plone-4.3-python-2.7 - http://jenkins.plone.org/job/plone-4.3-python-2.7/1238/ [SUCCESS]
a) theres no dependency in setup.py on plone.app.contenttypes
b) I think it is a bad idea to introduce a dependency on p.a.contentypes just to be able to run tests. (I have still not gotten these tests to run with plone 4.3 core buildout)