Skip to content

Commit 5120450

Browse files
committed
fix(sqlalchemy-bigquery): add dataset scoping engine to test_geoalchemy2_core
1 parent bef977f commit 5120450

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
geoalchemy2 = pytest.importorskip("geoalchemy2")
2323

2424

25-
def test_geoalchemy2_core(engine, bigquery_dataset):
25+
def test_geoalchemy2_core(bigquery_dataset):
2626
"""Make sure GeoAlchemy 2 Core Tutorial works as adapted to only having geography
2727
2828
https://geoalchemy-2.readthedocs.io/en/latest/core_tutorial.html
@@ -32,6 +32,10 @@ def test_geoalchemy2_core(engine, bigquery_dataset):
3232
- Bigquery doesn't have ST_BUFFER
3333
"""
3434

35+
from sqlalchemy import create_engine
36+
37+
engine = create_engine(f"bigquery:///{bigquery_dataset}")
38+
3539
# Create the Table
3640

3741
from sqlalchemy import Column, MetaData, String, Table

0 commit comments

Comments
 (0)