diff --git a/pyproject.toml b/pyproject.toml index d0c4e72..2bf5dac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,14 @@ source_dirs = ["src/"] # custom marks are created in conftest.py [tool.pytest] -python_files = ["*_test.py", "test_*.py", "tests.py"] +markers = ["final"] +python_files = ["test_*.py", "tests.py"] +required_plugins = [ + "pytest-asyncio", + "pytest-cov", + "pytest-randomly", + "pytest-textual-snapshot", +] strict_config = true strict_markers = true strict_parametrization_ids = false diff --git a/testing/conftest.py b/testing/conftest.py deleted file mode 100644 index 88fe65b..0000000 --- a/testing/conftest.py +++ /dev/null @@ -1,11 +0,0 @@ -from pytest import Config - - -def pytest_configure(config: Config): - """ - Registers a new mark 'final' that can be applied to tests. - - I did not want to add these in pyproject.toml. - """ - - config.addinivalue_line("markers", "final: the final test")