Skip to content

Commit 44825fe

Browse files
authored
Fix class name typos in OCI OpenAI tests
1 parent 854f7b2 commit 44825fe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_oci_openai.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
import pytest
88

99
from oci_openai import (
10-
OciInstancePrincipleAuth,
10+
OciInstancePrincipalAuth,
1111
OciOpenAI,
12-
OciResourcePrincipleAuth,
12+
OciResourcePrincipalAuth,
1313
OciSessionAuth,
14-
OciUserPrincipleAuth,
14+
OciUserPrincipalAuth,
1515
)
1616

1717
SERVICE_ENDPOINT = "https://fake-oci-endpoint.com"
@@ -47,7 +47,7 @@ def create_oci_openai_client_with_resource_principal_auth():
4747
with patch(
4848
"oci.auth.signers.get_resource_principals_signer", return_value=MagicMock()
4949
):
50-
auth = OciResourcePrincipleAuth()
50+
auth = OciResourcePrincipalAuth()
5151
client = OciOpenAI(
5252
service_endpoint=SERVICE_ENDPOINT,
5353
auth=auth,
@@ -61,7 +61,7 @@ def create_oci_openai_client_with_instance_principal_auth():
6161
"oci.auth.signers.InstancePrincipalsSecurityTokenSigner",
6262
return_value=MagicMock(),
6363
):
64-
auth = OciInstancePrincipleAuth()
64+
auth = OciInstancePrincipalAuth()
6565
client = OciOpenAI(
6666
service_endpoint=SERVICE_ENDPOINT,
6767
auth=auth,
@@ -82,7 +82,7 @@ def create_oci_openai_client_with_user_principal_auth():
8282
), patch("oci.config.validate_config", return_value=True), patch(
8383
"oci.signer.Signer", return_value=MagicMock()
8484
):
85-
auth = OciUserPrincipleAuth()
85+
auth = OciUserPrincipalAuth()
8686
client = OciOpenAI(
8787
service_endpoint=SERVICE_ENDPOINT,
8888
auth=auth,

0 commit comments

Comments
 (0)