Skip to content

Commit e32fed3

Browse files
fix conflicts with rebase
1 parent d1d590a commit e32fed3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/catalog/test_sql.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,8 @@ def test_namespace_exists(catalog: SqlCatalog) -> None:
11381138
def test_list_namespaces(catalog: SqlCatalog) -> None:
11391139
namespace_list = ["db", "db.ns1", "db.ns1.ns2", "db.ns2", "db2", "db2.ns1", "db%", "db.ns1X.ns3"]
11401140
for namespace in namespace_list:
1141-
catalog.create_namespace(namespace)
1141+
if not catalog._namespace_exists(namespace):
1142+
catalog.create_namespace(namespace)
11421143

11431144
ns_list = catalog.list_namespaces()
11441145
for ns in [("db",), ("db%",), ("db2",)]:

0 commit comments

Comments
 (0)