Skip to content

Commit

Permalink
Move from gocept.pytestlayer to zope.pytestlayer (Fix #11)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed May 15, 2024
1 parent ec3f963 commit d63a81c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
**pytest-plone** is a [pytest](https://docs.pytest.org) plugin providing fixtures and helpers to test [Plone](https://plone.org) add-ons.


This package is built on top of [gocept.pytestlayer](https://github.com/gocept/gocept.pytestlayer).
This package is built on top of [zope.pytestlayer](https://github.com/zopefoundation/zope.pytestlayer).


## Reasoning
Expand Down
1 change: 1 addition & 0 deletions news/11.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Move from `gocept.pytestlayer` to `zope.pytestlayer` [@ericof]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
include_package_data=True,
zip_safe=False,
install_requires=[
"gocept.pytestlayer",
"zope.pytestlayer",
"plone.api",
"plone.app.testing",
"plone.base",
Expand Down
4 changes: 2 additions & 2 deletions src/pytest_plone/helpers.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import gocept.pytestlayer.fixture
import zope.pytestlayer.fixture


def fixtures_factory(test_layers):
fixtures = {}
for item, prefix in test_layers:
fixtures.update(
gocept.pytestlayer.fixture.create(
zope.pytestlayer.fixture.create(
item,
session_fixture_name=f"{prefix}_session",
class_fixture_name=f"{prefix}_class",
Expand Down

0 comments on commit d63a81c

Please sign in to comment.