diff --git a/pyproject.toml b/pyproject.toml index 31ac9ec7bc..24f7b99713 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,3 +74,7 @@ devel = [ [build-system] requires = ["setuptools>=80,<81", "babel==2.12.1"] build-backend = "setuptools.build_meta" + +[tool.pytest.ini_options] +python_files = ["test_*.py", "*_test.py", "*Test.py"] +testpaths = ["cmstestsuite/unit_tests"] diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index ef55d7e985..0000000000 --- a/pytest.ini +++ /dev/null @@ -1,2 +0,0 @@ -[pytest] -python_files = test_*.py *_test.py *Test.py