Skip to content

Commit 343fc30

Browse files
ohmayrparthea
andauthored
Update packages/sqlalchemy-bigquery/tests/unit/test_geography.py
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 2e4345c commit 343fc30

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/sqlalchemy-bigquery/tests/unit/test_geography.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def test_geoalchemy2_core(faux_conn, last_query):
9999
last_query(
100100
"SELECT `lake`.`name` \n"
101101
"FROM `lake` \n"
102-
"WHERE ST_Contains(`lake`.`geog`, %(ST_Contains_1:STRING)s)",
102+
"WHERE ST_Contains(`lake`.`geog`, ST_GeogFromText(%(ST_GeogFromText_1:STRING)s))",
103+
{"ST_GeogFromText_1": "POINT(4 1)"},
103104
{"ST_Contains_1": "POINT(4 1)"},
104105
)
105106

0 commit comments

Comments
 (0)