X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c314a3092c5b51c7782015f6fa9ac093b46fa174..0add25e33500110a36458a0bb3fa292d408d2b85:/test/python/tools/test_postcodes.py?ds=sidebyside diff --git a/test/python/tools/test_postcodes.py b/test/python/tools/test_postcodes.py index febb2271..f035bb19 100644 --- a/test/python/tools/test_postcodes.py +++ b/test/python/tools/test_postcodes.py @@ -47,7 +47,7 @@ class MockPostcodeTable: country_code, postcode, geometry) VALUES (nextval('seq_place'), 1, %s, %s, - 'SRID=4326;POINT(%s %s)')""", + ST_SetSRID(ST_MakePoint(%s, %s), 4326))""", (country, postcode, x, y)) self.conn.commit()