Skip to content

Commit e01510b

Browse files
committed
test fixes
1 parent 61eeedc commit e01510b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/catalog/test_bigquery_metastore.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def test_create_table_with_database_location(
6060
mocker.patch("pyiceberg.catalog.bigquery_metastore.Client", return_value=client_mock)
6161
mocker.patch("pyiceberg.catalog.bigquery_metastore.FromInputFile.table_metadata", return_value=file_mock)
6262
mocker.patch.dict(os.environ, values={"PYICEBERG_LEGACY_CURRENT_SNAPSHOT_ID": "True"})
63+
mocker.patch("pyiceberg.catalog.ToOutputFile.table_metadata", return_value=None)
6364

6465
catalog_name = "test_ddb_catalog"
6566
identifier = (gcp_dataset_name, table_name)
@@ -85,6 +86,7 @@ def test_drop_table_with_database_location(
8586
mocker.patch("pyiceberg.catalog.bigquery_metastore.Client", return_value=client_mock)
8687
mocker.patch("pyiceberg.catalog.bigquery_metastore.FromInputFile.table_metadata", return_value=file_mock)
8788
mocker.patch.dict(os.environ, values={"PYICEBERG_LEGACY_CURRENT_SNAPSHOT_ID": "True"})
89+
mocker.patch("pyiceberg.catalog.ToOutputFile.table_metadata", return_value=None)
8890

8991
catalog_name = "test_ddb_catalog"
9092
identifier = (gcp_dataset_name, table_name)

0 commit comments

Comments
 (0)