X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2bab0ca060ff224091b20a0ac808a3febaba04b1..3905dd68dd5b261449df7df243c594b25995d8bd:/test/python/tools/test_postcodes.py 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()