Skip to content

Commit 037f8d3

Browse files
committed
update test file
1 parent fb00837 commit 037f8d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/catalog/test_bigquery_metastore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_list_tables(mocker: MockFixture, gcp_dataset_name: str) -> None:
151151
catalog_name = "test_catalog"
152152
test_catalog = BigQueryMetastoreCatalog(catalog_name, **{"gcp.bigquery.project-id": "my-project"})
153153

154-
tables = test_catalog.list_tables(gcp_dataset_name)
154+
tables = list(test_catalog.list_tables(gcp_dataset_name))
155155

156156
# Assert that all tables returned by client.list_tables are listed
157157
assert len(tables) == 2
@@ -173,7 +173,7 @@ def test_list_namespaces(mocker: MockFixture) -> None:
173173
catalog_name = "test_catalog"
174174
test_catalog = BigQueryMetastoreCatalog(catalog_name, **{"gcp.bigquery.project-id": "my-project"})
175175

176-
namespaces = test_catalog.list_namespaces()
176+
namespaces = list(test_catalog.list_namespaces())
177177
assert len(namespaces) == 2
178178
assert ("dataset1",) in namespaces
179179
assert ("dataset2",) in namespaces

0 commit comments

Comments
 (0)