Skip to content

Commit 94addc7

Browse files
kbighorseactions-user
authored andcommitted
Formatting changes
1 parent 0b4d77d commit 94addc7

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

tests/test_transfer_legacy_dates.py

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -255,21 +255,23 @@ def test_location_legacy_date_coverage_statistics(mock_lexicon_mapper):
255255

256256
def create_test_row(i, has_site_date):
257257
"""Helper to create test row with common fields"""
258-
return pd.Series({
259-
"PointID": f"TEST-{i:03d}",
260-
"Easting": 350000 + i,
261-
"Northing": 3880000 + i,
262-
"DateCreated": "2014-04-03 00:00:00.000",
263-
"SiteDate": "2002-12-10 00:00:00.000" if has_site_date else None,
264-
"Altitude": 1558.8,
265-
"AltDatum": "NAVD88",
266-
"AltitudeMethod": "GPS",
267-
"LocationId": i,
268-
"PublicRelease": True,
269-
"CoordinateNotes": None,
270-
"LocationNotes": None,
271-
"AltitudeAccuracy": None,
272-
})
258+
return pd.Series(
259+
{
260+
"PointID": f"TEST-{i:03d}",
261+
"Easting": 350000 + i,
262+
"Northing": 3880000 + i,
263+
"DateCreated": "2014-04-03 00:00:00.000",
264+
"SiteDate": "2002-12-10 00:00:00.000" if has_site_date else None,
265+
"Altitude": 1558.8,
266+
"AltDatum": "NAVD88",
267+
"AltitudeMethod": "GPS",
268+
"LocationId": i,
269+
"PublicRelease": True,
270+
"CoordinateNotes": None,
271+
"LocationNotes": None,
272+
"AltitudeAccuracy": None,
273+
}
274+
)
273275

274276
# Simulate 100 location records from CSV (9% with SiteDate, 91% without)
275277
locations_created = 0

0 commit comments

Comments
 (0)