From 4d8810538798aa815a459f298349a03fc6b3ea3f Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 22 Apr 2022 16:43:11 +0200 Subject: use pyproject.toml for pytest configuration and move all tests to tests/ directory this commit also fixes inclusion of sample source package's REUSE data in source dist (needed for automated tests) --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 39e2823..b6f87c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,3 +10,10 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm>=5.0", "babel"] [tool.setuptools_scm] write_to = "src/hydrilla/server/_version.py" + +[tool.pytest.ini_options] +minversion = "6.0" +addopts = "-ra -q" +testpaths = [ + "tests" +] -- cgit v1.2.3