Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqi1129 committed Oct 16, 2024
1 parent 3ec2dcc commit f754997
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions clients/client-python/tests/integration/test_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit f754997

Please sign in to comment.