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:
7 files changed
+39
-24
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user