Skip to content

Commit

Permalink
Merge pull request #15 from GenomicDataInfrastructure/harvester]-pars…
Browse files Browse the repository at this point in the history
…e-iso8601-compliant-timestamps

fix: fix test
  • Loading branch information
hcvdwerf authored Mar 20, 2024
2 parents 49907b6 + ea8a78c commit 9e58c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/fairdatapoint/tests/test_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_parse_dataset():
("2024-02-15 11:16:37+03:00",
datetime(2024, 2, 15, 11, 16, 37, tzinfo=tzoffset(None, 10800))),
("November 9, 1999", datetime(1999, 11, 9, 0, 0, 0)),
("2006-09", datetime(2006, 9, 18))])
("2006-09", datetime(2006, 9, datetime.today().day))])
def test_convert_datetime_string(input_timestring, expected_output):
actual = convert_datetime_string(input_timestring)
assert actual == expected_output

0 comments on commit 9e58c34

Please sign in to comment.