projects
/
nominatim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #3521 from lonvia/make-requests-optional
[nominatim.git]
/
test
/
python
/
tools
/
test_postcodes.py
diff --git
a/test/python/tools/test_postcodes.py
b/test/python/tools/test_postcodes.py
index febb2271da289a76266fab6b5443f95df871a6a8..f035bb19affa5c1195cb8999f61897cdd68c00de 100644
(file)
--- 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()