Skip to content

Commit 6537713

Browse files
committed
cp dines
1 parent 8ec1f0f commit 6537713

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/smoketests/sdk/test_async_gateway_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from runloop_api_client.sdk import AsyncRunloopSDK
88
from tests.smoketests.utils import unique_name
9+
from runloop_api_client.types.gateway_config_create_params import AuthMechanism
910

1011
pytestmark = [pytest.mark.smoketest, pytest.mark.asyncio]
1112

@@ -157,7 +158,7 @@ class TestAsyncGatewayConfigAuthMechanisms:
157158
],
158159
)
159160
async def test_gateway_config_auth_mechanisms(
160-
self, async_sdk_client: AsyncRunloopSDK, auth_mechanism: dict, expected_type: str, expected_key: str | None
161+
self, async_sdk_client: AsyncRunloopSDK, auth_mechanism: AuthMechanism, expected_type: str, expected_key: str | None
161162
) -> None:
162163
"""Test creating gateway configs with different auth mechanisms."""
163164
gateway_config = await async_sdk_client.gateway_config.create(

tests/smoketests/sdk/test_gateway_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from runloop_api_client.sdk import RunloopSDK
88
from tests.smoketests.utils import unique_name
9+
from runloop_api_client.types.gateway_config_create_params import AuthMechanism
910

1011
pytestmark = [pytest.mark.smoketest]
1112

@@ -157,7 +158,7 @@ class TestGatewayConfigAuthMechanisms:
157158
],
158159
)
159160
def test_gateway_config_auth_mechanisms(
160-
self, sdk_client: RunloopSDK, auth_mechanism: dict, expected_type: str, expected_key: str | None
161+
self, sdk_client: RunloopSDK, auth_mechanism: AuthMechanism, expected_type: str, expected_key: str | None
161162
) -> None:
162163
"""Test creating gateway configs with different auth mechanisms."""
163164
gateway_config = sdk_client.gateway_config.create(

0 commit comments

Comments
 (0)