add function for inserting data to testing cursor

This commit is contained in:
Sarah Hoffmann
2026-02-12 19:49:52 +01:00
parent 79682a94ce
commit 35a023d133
3 changed files with 57 additions and 13 deletions

View File

@@ -177,7 +177,7 @@ async def test_load_data(dsn, place_row, placex_table, osmline_table,
for oid in range(100, 130):
place_row(osm_id=oid)
place_row(osm_type='W', osm_id=342, cls='place', typ='houses',
geom='SRID=4326;LINESTRING(0 0, 10 10)')
geom='LINESTRING(0 0, 10 10)')
await database_import.load_data(dsn, threads)