From 259f5e12d45151d5df6fa4b2a84e9b9937409652 Mon Sep 17 00:00:00 2001 From: Paul Kienzle Date: Mon, 1 Jun 2026 14:22:15 -0400 Subject: [PATCH 1/3] suppress tests on unused source directories --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6e9bc548af..7d5cf571ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -212,7 +212,10 @@ norecursedirs = [ "src/sas/qtgui/Perspectives/Fitting/UnitTesting/Quarantine", "src/sas/qtgui/Perspectives/Inversion", "src/sas/qtgui/Perspectives/ParticleEditor", - "src/sas/qtgui/Utilities/UnitTesting/Quarantine" + "src/sas/qtgui/Utilities/UnitTesting/Quarantine", + "src/sas/webfit", + "src/sas/sascalc/simulation", + "src/sas/sascalc/realspace", ] [tool.ruff] From a25e0c1ddd88ce700574083459e76ed1b1238b35 Mon Sep 17 00:00:00 2001 From: Paul Kienzle Date: Mon, 1 Jun 2026 16:33:44 -0400 Subject: [PATCH 2/3] correct the test directory path in pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7d5cf571ac..53cdd2f1df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -202,7 +202,7 @@ filterwarnings = [ ] testpaths = [ "src", - "tests", + "test", ] pythonpath = "src" norecursedirs = [ From 5b5848a6b36b2af9b4d9ed38e1faa6d8659165fc Mon Sep 17 00:00:00 2001 From: Paul Kienzle Date: Mon, 1 Jun 2026 16:37:02 -0400 Subject: [PATCH 3/3] use test file glob that works on case-sensitive file systems --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 53cdd2f1df..7a698b9fdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -185,8 +185,7 @@ environment = { PYTHONPATH = "../../../src" } [tool.pytest.ini_options] minversion = "6.0" python_files = [ - "u*py", - "*Test*py", + "*[Tt]est*.py", ] python_classes = [ "*Test",