diff --git a/MANIFEST.in b/MANIFEST.in index 14964a9..229e08d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,7 @@ include Makefile include requirements*.txt include version.txt include README.md +include conftest.py recursive-include swh py.typed recursive-include swh/loader/bzr/tests/data/ * diff --git a/conftest.py b/conftest.py index d8845e6..3dff0fd 100644 --- a/conftest.py +++ b/conftest.py @@ -1,10 +1,19 @@ -# Copyright (C) 2021 The Software Heritage developers +# Copyright (C) 2021-2022 The Software Heritage developers # See the AUTHORS file at the top-level directory of this distribution # License: GNU General Public License version 3, or any later version # See top-level LICENSE file for more information +import pytest + pytest_plugins = [ "swh.scheduler.pytest_plugin", "swh.storage.pytest_plugin", "swh.loader.pytest_plugin", ] + + +@pytest.fixture(scope="session") +def swh_scheduler_celery_includes(swh_scheduler_celery_includes): + return swh_scheduler_celery_includes + [ + "swh.loader.bzr.tasks", + ]