|
21 | 21 | from dateutil.tz import tzutc, tzoffset
|
22 | 22 | from pathlib import Path
|
23 | 23 | from rdflib import Graph, URIRef
|
24 |
| -from ckanext.fairdatapoint.profiles import validate_tags, convert_datetime_string, FAIRDataPointDCATAPProfile |
| 24 | +from ckanext.fairdatapoint.profiles import validate_tags, convert_datetime_string |
25 | 25 | from ckanext.fairdatapoint.harvesters.domain.fair_data_point_record_to_package_converter import (
|
26 | 26 | FairDataPointRecordToPackageConverter)
|
27 | 27 |
|
@@ -93,7 +93,7 @@ def test_parse_dataset():
|
93 | 93 | ("2023-10-06T10:12:55.614000+00:00",
|
94 | 94 | datetime(2023, 10, 6, 10, 12, 55, 614000, tzinfo=tzutc())),
|
95 | 95 | ("2024-02-15 11:16:37+03:00",
|
96 |
| - datetime(2024, 2, 5, 11, 16, 37, tzinfo=tzoffset(None, 10800))), |
| 96 | + datetime(2024, 2, 15, 11, 16, 37, tzinfo=tzoffset(None, 10800))), |
97 | 97 | ("November 9, 1999", datetime(1999, 11, 9, 0, 0, 0)),
|
98 | 98 | ("2006-09", datetime(2006, 9, 18))])
|
99 | 99 | def test_convert_datetime_string(input_timestring, expected_output):
|
|
0 commit comments