File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments