diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -53,8 +53,6 @@ swh-storage=swh.storage.cli:main [swh.cli.subcommands] storage=swh.storage.cli:storage - [pytest11] - pytest_swh_storage=swh.storage.pytest_plugin """, install_requires=parse_requirements() + parse_requirements("swh"), extras_require={ diff --git a/swh/storage/tests/conftest.py b/swh/storage/tests/conftest.py --- a/swh/storage/tests/conftest.py +++ b/swh/storage/tests/conftest.py @@ -24,7 +24,9 @@ SkippedContent, Snapshot, ) -from swh.storage.pytest_plugin import * # noqa # for retro compatibility + + +pytest_plugins = ["swh.storage.pytest_plugin"] OBJECT_FACTORY = {