Skip to content

Commit

Permalink
[QOLDEV-554] add extra data to the unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Aug 22, 2023
1 parent 03967f7 commit f5fad5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ckanext/xloader/tests/samples/non_timestamp_sample.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Title,Postal postcode,Latitude,Longitude,Mon am,Mon pm,Last updated
Adavale,4474,-25.9092582,144.5975769,8:00,16:00,19/07/2018
Aramac,4726,-22.971298,145.241481,9:00-13:00,14:00-16:45,17/07/2018
Barcaldine,4725,-23.55327901,145.289156,9:00-12:30,13:30-16:30,20/07/2018
2 changes: 2 additions & 0 deletions ckanext/xloader/tests/test_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,4 +1233,6 @@ def test_preserving_time_ranges(self, Session):
"8:00", "16:00", datetime.datetime(2018, 7, 19)),
(2, "Aramac", 4726, Decimal("-22.971298"), Decimal("145.241481"),
"9:00-13:00", "14:00-16:45", datetime.datetime(2018, 7, 17))
(3, "Barcaldine", 4725, Decimal("-23.55327901"), Decimal("145.289156"),
"9:00-12:30", "13:30-16:30", datetime.datetime(2018, 7, 20))
]

0 comments on commit f5fad5b

Please sign in to comment.