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
@@ -9,12 +9,8 @@ This module tests GEDCOM file parsing functionality including:
|
||||
"""
|
||||
|
||||
import pytest
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Add src to path for imports
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent / 'src'))
|
||||
|
||||
from gedcom_parser import GedcomParser
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user