Skip to content

Commit 9e58c34

Browse files
authored
Merge pull request #15 from GenomicDataInfrastructure/harvester]-parse-iso8601-compliant-timestamps
fix: fix test
2 parents 49907b6 + ea8a78c commit 9e58c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ckanext/fairdatapoint/tests/test_profiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def test_parse_dataset():
9595
("2024-02-15 11:16:37+03:00",
9696
datetime(2024, 2, 15, 11, 16, 37, tzinfo=tzoffset(None, 10800))),
9797
("November 9, 1999", datetime(1999, 11, 9, 0, 0, 0)),
98-
("2006-09", datetime(2006, 9, 18))])
98+
("2006-09", datetime(2006, 9, datetime.today().day))])
9999
def test_convert_datetime_string(input_timestring, expected_output):
100100
actual = convert_datetime_string(input_timestring)
101101
assert actual == expected_output

0 commit comments

Comments
 (0)