diff --git a/TODO_TESTS.md b/TODO_TESTS.md index 0bca0f7c..3ad1a973 100644 --- a/TODO_TESTS.md +++ b/TODO_TESTS.md @@ -30,8 +30,9 @@ This document tracks test coverage improvements for DocuElevate. The goal is to - Test skipping when URL not configured - Test error handling for failed requests -- [x] `app/utils.py` (0% → Still 0%) ⚠️ - - Simple re-export module, coverage is from actual usage +- [x] `app/utils/` package (exports via __init__.py) ✅ + - Package exports tested in test_reexports.py + - Individual module coverage from actual usage - [x] `app/frontend.py` (0% → 100%) ✅ - Simple re-export module, test imports work diff --git a/tests/test_coverage_boost.py b/tests/test_coverage_boost.py index f2b27073..d49dc1c8 100644 --- a/tests/test_coverage_boost.py +++ b/tests/test_coverage_boost.py @@ -5,7 +5,7 @@ from unittest.mock import patch, MagicMock @pytest.mark.unit class TestUtilsCompat: - """Tests for app/utils.py backward compatibility module.""" + """Tests for app.utils package exports.""" def test_imports_hash_file(self): """Test that hash_file can be imported from utils.""" diff --git a/tests/test_reexports.py b/tests/test_reexports.py index 74d1895a..dd42fbcc 100644 --- a/tests/test_reexports.py +++ b/tests/test_reexports.py @@ -10,7 +10,7 @@ import pytest @pytest.mark.unit class TestUtilsReexports: - """Test that app/utils.py re-exports work correctly""" + """Test that app.utils package exports work correctly""" def test_hash_file_import(self): """Test that hash_file can be imported from app.utils"""