Skip to content

Upgrade pytest-plone to version 1.1.0#50

Merged
sneridagh merged 1 commit into
mainfrom
issue-74
Jul 14, 2026
Merged

Upgrade pytest-plone to version 1.1.0#50
sneridagh merged 1 commit into
mainfrom
issue-74

Conversation

@ericof

@ericof ericof commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrade pytest-plone to version 1.1.0 and adopt its new create_site / app_class fixtures in the backend test suite.

Changes

  • Bump pytest-plone from >=1.0.0 to >=1.1.0 in backend/pyproject.toml (and backend/uv.lock).
  • Drop the locally-defined create_site fixture from backend/tests/conftest.py — it now ships with pytest-plone.
  • Use the new app_class fixture instead of aq_parent(portal_class) boilerplate in tests/content_types/test_ct_lrf.py and tests/creation/conftest.py.

Testing

  • uv run pytest tests/creation tests/content_types/test_ct_lrf.py57 passed.

Issue

Refs kitconcept/distribution-kitconcept-website#74

Local Results

x4.6 improvement:

  • pytest-plone 1.0.0: 108 passed in 132.91s (0:02:12)
  • pytest-plone 1.1.0: 108 passed in 28.88s

@ericof
ericof requested review from fredvd and sneridagh July 14, 2026 03:03
@sneridagh
sneridagh merged commit 0b5d16b into main Jul 14, 2026
21 checks passed
@sneridagh
sneridagh deleted the issue-74 branch July 14, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants