-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ensure tests work with restapi installed #195
base: master
Are you sure you want to change the base?
Conversation
@jenkins-plone-org please run jobs |
Thanks for your contribution! |
@@ -26,6 +28,8 @@ def setUpZope(self, app, configurationContext): | |||
def setUpPloneSite(self, portal): | |||
# install into the Plone site | |||
applyProfile(portal, 'plone.app.theming:default') | |||
#if portal.portal_setup.profileExists('plone.restapi:default'): |
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.
Is this a leftover?
@@ -11,6 +11,7 @@ | |||
<include package="plone.resourceeditor" /> | |||
<include package="plone.transformchain" /> | |||
<include package="plone.app.registry" /> | |||
<include package="plone.restapi" /> |
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.
I have some doubt about this line.
Is this change important only for the tests?
In that case I would handle that in the test layer.
And probably add plone.restapi
as an extra requirement in the setup.py
for the [test]
feature.
There was a bug with my previous PR - plone/plone.rest#61. It didn't install plone.restapi so didn't actually test that it works with it installed