Skip to content

ensure tests work with restapi installed - #195

Open
djay wants to merge 3 commits into
masterfrom
ensure_works_with_restapi
Open

ensure tests work with restapi installed#195
djay wants to merge 3 commits into
masterfrom
ensure_works_with_restapi

Conversation

@djay

@djay djay commented Apr 22, 2021

Copy link
Copy Markdown
Member

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

djay commented Apr 23, 2021

Copy link
Copy Markdown
Member Author

@jenkins-plone-org please run jobs

@djay
djay requested a review from mauritsvanrees April 23, 2021 10:56
@ale-rt

ale-rt commented Apr 23, 2021

Copy link
Copy Markdown
Member

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

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
Copy Markdown
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?

<include package="plone.resourceeditor" />
<include package="plone.transformchain" />
<include package="plone.app.registry" />
<include package="plone.restapi" />

Copy link
Copy Markdown
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