File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/model_registry/rbac Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 44from typing import Self
55from simple_logger .logger import get_logger
66from model_registry import ModelRegistry as ModelRegistryClient
7- from tests .model_registry .rbac .utils import get_mr_client_args
7+ from tests .model_registry .rbac .utils import build_mr_client_args
88from utilities .constants import DscComponents
99from mr_openapi .exceptions import ForbiddenException
1010
@@ -50,7 +50,7 @@ def test_service_account_access_denied(
5050 LOGGER .info (f"Targeting Model Registry REST endpoint: { model_registry_instance_rest_endpoint } " )
5151 LOGGER .info ("Expecting initial access DENIAL (403 Forbidden)" )
5252
53- client_args = get_mr_client_args (
53+ client_args = build_mr_client_args (
5454 rest_endpoint = model_registry_instance_rest_endpoint , token = sa_token , author = "rbac-test-denied"
5555 )
5656 LOGGER .debug (f"Attempting client connection with args: { client_args } " )
@@ -82,7 +82,7 @@ def test_service_account_access_granted(
8282 LOGGER .info ("Applied RBAC Role/Binding via fixtures. Expecting access GRANT." )
8383
8484 try :
85- client_args = get_mr_client_args (
85+ client_args = build_mr_client_args (
8686 rest_endpoint = model_registry_instance_rest_endpoint , token = sa_token , author = "rbac-test-granted"
8787 )
8888 LOGGER .debug (f"Attempting client connection with args: { client_args } " )
You can’t perform that action at this time.
0 commit comments