Skip to content

Commit 89d316a

Browse files
committed
PR comment
1 parent 0489659 commit 89d316a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/test_catalog.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,8 @@ def test_namespace_with_dot(test_catalog: Catalog) -> None:
685685
test_catalog.create_namespace(namespace)
686686
assert _namespace_exists(test_catalog, namespace)
687687

688-
# list_namespaces returns a list of tuples
688+
# REST Catalog fixture treats this as a hierarchical namespace.
689+
# Calling list namespaces will get `new`, not `new.db`.
689690
if isinstance(test_catalog, RestCatalog):
690691
namespaces = test_catalog.list_namespaces()
691692
assert ("new",) in namespaces or ("new.db",) in namespaces

0 commit comments

Comments
 (0)