From f754997039b801dcbf4c0090281e93c1b8fe447a Mon Sep 17 00:00:00 2001 From: yuqi Date: Wed, 16 Oct 2024 21:39:48 +0800 Subject: [PATCH] Fix --- clients/client-python/tests/integration/test_catalog.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/clients/client-python/tests/integration/test_catalog.py b/clients/client-python/tests/integration/test_catalog.py index acecfefa45..c89e179f3a 100644 --- a/clients/client-python/tests/integration/test_catalog.py +++ b/clients/client-python/tests/integration/test_catalog.py @@ -107,13 +107,7 @@ def test_list_catalogs(self): self.assertTrue(self.catalog_name in catalog_names) def test_create_catalog(self): - try: - self.gravitino_client.load_catalog(self.catalog_name) - except NoSuchCatalogException: - logger.info("TestCatalog: Catalog %s does not exist", self.catalog_name) - catalog = self.create_catalog(self.catalog_name) - logger.info("TestCatalog: Catalog %s created, properties: %s", catalog.name(), catalog.properties) self.assertEqual(catalog.name(), self.catalog_name) self.assertEqual( catalog.properties(), {self.catalog_location_prop: "/tmp/test_schema"}