Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

djay
Copy link
Member

@djay djay commented Apr 22, 2021

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

@djay djay requested a review from esteele April 22, 2021 06:10
@djay
Copy link
Member Author

djay commented Apr 23, 2021

@jenkins-plone-org please run jobs

@ale-rt
Copy link
Member

ale-rt commented Apr 23, 2021

Thanks for your contribution!
The jenkins comment will not trigger any build for the time being.
You can start the build manually going to https://jenkins.plone.org/, logging in and pass the PR URL in the form that appears when you click "Build with parameters".
image

@@ -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'):
Copy link
Member

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" />
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants