Skip to content

Commit 570dad5

Browse files
committed
add namespace exists in integration test
1 parent c98b6eb commit 570dad5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration/test_catalog.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,10 @@ def test_concurrent_create_transaction(test_catalog: Catalog, test_schema: Schem
410410
@pytest.mark.integration
411411
@pytest.mark.parametrize("test_catalog", CATALOGS)
412412
def test_create_namespace(test_catalog: Catalog, database_name: str) -> None:
413+
assert not test_catalog.namespace_exists(database_name)
414+
413415
test_catalog.create_namespace(database_name)
416+
assert test_catalog.namespace_exists(database_name)
414417
assert (database_name,) in test_catalog.list_namespaces()
415418

416419

0 commit comments

Comments
 (0)