Skip to content
Snippets Groups Projects
Commit 6aaf45ea authored by (@ardumont)'s avatar (@ardumont) Committed by Phabricator Migration user
Browse files

setup: Stop swh.core.pytest_plugin from autoloading

parent 1657fb82
No related branches found
No related tags found
1 merge request!172setup: Stop swh.core.pytest_plugin from autoloading
This commit is part of merge request !172. Comments created here will be created in the context of that merge request.
......@@ -3,6 +3,11 @@ import pytest
from swh.core.cli import swh as _swhmain
pytest_plugins = [
"swh.core.pytest_plugin",
]
# define tests profile. Full documentation is at:
# https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles
settings.register_profile("fast", max_examples=5, deadline=5000)
......
......@@ -47,7 +47,6 @@ setup(
author_email="swh-devel@inria.fr",
url="https://forge.softwareheritage.org/diffusion/DCORE/",
packages=find_packages(),
py_modules=["pytest_swh_core"],
scripts=[],
install_requires=parse_requirements(None, "swh"),
setup_requires=["setuptools-scm"],
......@@ -68,8 +67,6 @@ setup(
swh-db-init=swh.core.cli.db:db_init
[swh.cli.subcommands]
db=swh.core.cli.db
[pytest11]
pytest_swh_core = swh.core.pytest_plugin
""",
classifiers=[
"Programming Language :: Python :: 3",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment