diff --git a/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/tests/conftest.py b/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/tests/conftest.py deleted file mode 100644 index 6bb3ec2d7a..0000000000 --- a/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/tests/conftest.py +++ /dev/null @@ -1,3 +0,0 @@ -"""Test Configuration.""" - -pytest_plugins = ("singer_sdk.testing.pytest_plugin",) diff --git a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/tests/conftest.py b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/tests/conftest.py deleted file mode 100644 index 6bb3ec2d7a..0000000000 --- a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/tests/conftest.py +++ /dev/null @@ -1,3 +0,0 @@ -"""Test Configuration.""" - -pytest_plugins = ("singer_sdk.testing.pytest_plugin",) diff --git a/cookiecutter/target-template/{{cookiecutter.target_id}}/tests/conftest.py b/cookiecutter/target-template/{{cookiecutter.target_id}}/tests/conftest.py deleted file mode 100644 index 6bb3ec2d7a..0000000000 --- a/cookiecutter/target-template/{{cookiecutter.target_id}}/tests/conftest.py +++ /dev/null @@ -1,3 +0,0 @@ -"""Test Configuration.""" - -pytest_plugins = ("singer_sdk.testing.pytest_plugin",) diff --git a/pyproject.toml b/pyproject.toml index 6d4bee7a34..4524a20988 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -207,8 +207,8 @@ module = [ requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" -[tool.poetry.scripts] -pytest11 = { reference = "singer_sdk:testing.pytest_plugin", extras = ["testing"], type = "console" } +[tool.poetry.plugins."pytest11"] +singer_testing = "singer_sdk.testing.pytest_plugin" [tool.ruff] exclude = [ diff --git a/tests/conftest.py b/tests/conftest.py index a6d30cc377..c08726a695 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -23,8 +23,6 @@ SYSTEMS = {"linux", "darwin", "windows"} -pytest_plugins = ("singer_sdk.testing.pytest_plugin",) - def pytest_collection_modifyitems(config: Config, items: list[pytest.Item]): rootdir = pathlib.Path(config.rootdir)