Enhances individual death info and note generation
Extracts and includes the death year from the death date in individual data. Adds a flag to control subdirectory usage for generated files. This ensures correct linking and image paths in notes when using a subdirectory structure (people/, stories/, media/). Also, improves error logging during note generation.
This commit is contained in:
5 files changed
+26
-13
No files matched your search
@@ -124,6 +124,7 @@ class TestBirthAndDeath:
|
||||
death = john_doe.get_death_info()
|
||||
assert death['date'] == '15 JUN 2020'
|
||||
assert death['place'] == 'Los Angeles, USA'
|
||||
assert death['year'] == '2020'
|
||||
|
||||
def test_get_birth_info_missing(self, sample_gedcom_file):
|
||||
"""Test birth info when not present."""
|
||||
|
||||
Reference in new issue
Block a user