Skip to content

Commit 50d26db

Browse files
committed
Fix test
1 parent b973289 commit 50d26db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -887,12 +887,12 @@ def test_assign_metastore_logs_account_id_and_assigns_metastore(caplog, acc_clie
887887
acc_client.metastore_assignments.create.assert_called_once()
888888

889889

890-
def test_create_ucx_catalog_calls_create_catalog(ws) -> None:
890+
def test_create_ucx_catalog_calls_get_catalog(ws) -> None:
891891
prompts = MockPrompts({"Please provide storage location url for catalog: .*": "metastore"})
892892

893893
create_ucx_catalog(ws, prompts, ctx=WorkspaceContext(ws))
894894

895-
ws.catalogs.create.assert_called_once()
895+
ws.catalogs.get.assert_called_once()
896896

897897

898898
def test_create_ucx_catalog_creates_history_schema_and_table(ws, mock_backend) -> None:

0 commit comments

Comments
 (0)