Improves death year extraction and pytest configuration

Fixes death year extraction using regex to correctly parse years
Removes manual sys.path modifications in test files
Adds pythonpath configuration to pytest.ini for simpler imports

Enhances test coverage for life span formatting
This commit is contained in:
AlexKucera committed 2025-11-02 14:35:23 +01:00
1 parent c072ebb2cd
commit 64f42deb29
7 files changed
+39 -24

No files matched your search

-4
View File
@@ -10,15 +10,11 @@ This module tests the command-line interface and main conversion workflow includ
"""
import pytest
import sys
import zipfile
from pathlib import Path
from unittest.mock import patch, MagicMock
from io import StringIO
# Add src to path for imports
sys.path.insert(0, str(Path(__file__).parent.parent / 'src'))
import main
from main import (
setup_logging,