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,12 +10,8 @@ This module tests Obsidian markdown note generation 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
|
||||
from individual import Individual
|
||||
from markdown_generator import MarkdownGenerator
|
||||
|
||||
Reference in new issue
Block a user