Skip to content

Commit

Permalink
Address comments in test_ead.py
Browse files Browse the repository at this point in the history
* Add non-range date value to test for 'get_dates'
  • Loading branch information
jonavellecuerdo committed Jun 3, 2024
1 parent 25b4705 commit 95b6b47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/sources/xml/test_ead.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,7 @@ def test_get_dates_success():
<unitdate certainty="approximate" datechar="creation" normal="1905/2012">
1905-2012
</unitdate>
<unitdate normal="2023-01-01">2023-01-01</unitdate>
"""
),
parent_element="did",
Expand All @@ -892,7 +893,8 @@ def test_get_dates_success():
kind="creation",
note="approximate",
range=timdex.DateRange(gte="1905", lte="2012"),
)
),
timdex.Date(value="2023-01-01"),
]


Expand Down

0 comments on commit 95b6b47

Please sign in to comment.