File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -997,16 +997,6 @@ def test_rename_table_to_namespace_does_not_exists() -> None:
997997 assert "Database does not exists: default_does_not_exists" in str (exc_info .value )
998998
999999
1000- def test_rename_table_to_table_already_exists (hive_table : HiveTable ) -> None :
1001- catalog = HiveCatalog (HIVE_CATALOG_NAME , uri = HIVE_METASTORE_FAKE_URL )
1002- catalog .load_table = MagicMock (return_value = hive_table ) # type: ignore[method-assign]
1003-
1004- with pytest .raises (TableAlreadyExistsError ) as exc_info :
1005- catalog .rename_table (("default" , "some_table" ), ("default" , "new_tabl2e" ))
1006-
1007- assert "Table already exists: new_tabl2e" in str (exc_info .value )
1008-
1009-
10101000def test_drop_database_does_not_empty () -> None :
10111001 catalog = HiveCatalog (HIVE_CATALOG_NAME , uri = HIVE_METASTORE_FAKE_URL )
10121002
You can’t perform that action at this time.
0 commit comments