From 38774869bef78a4f52c7778cbe93cded221a8358 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Tue, 2 Dec 2025 22:33:34 +0100 Subject: [PATCH] Fix test discovery and coverage for python_pkg modules - Update pytest testpaths: PYTHON -> python_pkg (PYTHON was empty) - Add missing __init__.py to: stockfish_analysis, screen_locker, extract_links - Now coverage correctly reports 0% for untested modules: - screen_locker/screen_lock.py (279 stmts, 0% coverage) - stockfish_analysis/analyze_chess_game.py (327 stmts, 0% coverage) --- python_pkg/extract_links/__init__.py | 1 + python_pkg/stockfish_analysis/__init__.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 python_pkg/extract_links/__init__.py create mode 100644 python_pkg/stockfish_analysis/__init__.py diff --git a/python_pkg/extract_links/__init__.py b/python_pkg/extract_links/__init__.py new file mode 100644 index 0000000..b9ff976 --- /dev/null +++ b/python_pkg/extract_links/__init__.py @@ -0,0 +1 @@ +"""Extract links module.""" diff --git a/python_pkg/stockfish_analysis/__init__.py b/python_pkg/stockfish_analysis/__init__.py new file mode 100644 index 0000000..3b10f0d --- /dev/null +++ b/python_pkg/stockfish_analysis/__init__.py @@ -0,0 +1 @@ +"""Stockfish analysis module."""