Skip to content

Commit 97afac1

Browse files
committed
update sdk smoke tests with all ops
1 parent 1bd29fe commit 97afac1

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

tests/smoketests/sdk/test_async_sdk.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ class TestAsyncRunloopSDKInitialization:
1616

1717
@pytest.mark.timeout(THIRTY_SECOND_TIMEOUT)
1818
async def test_sdk_instance_creation(self, async_sdk_client: AsyncRunloopSDK) -> None:
19-
"""Test that async SDK instance is created successfully with all client properties."""
19+
"""Test that async SDK instance is created successfully with all operations."""
2020
assert async_sdk_client is not None
2121
assert async_sdk_client.devbox is not None
2222
assert async_sdk_client.blueprint is not None
2323
assert async_sdk_client.snapshot is not None
2424
assert async_sdk_client.storage_object is not None
25+
assert async_sdk_client.scorer is not None
26+
assert async_sdk_client.agent is not None
27+
assert async_sdk_client.scenario is not None
2528

2629
@pytest.mark.timeout(THIRTY_SECOND_TIMEOUT)
2730
async def test_legacy_api_access(self, async_sdk_client: AsyncRunloopSDK) -> None:

tests/smoketests/sdk/test_sdk.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ class TestRunloopSDKInitialization:
1616

1717
@pytest.mark.timeout(THIRTY_SECOND_TIMEOUT)
1818
def test_sdk_instance_creation(self, sdk_client: RunloopSDK) -> None:
19-
"""Test that SDK instance is created successfully with all client properties."""
19+
"""Test that SDK instance is created successfully with all operations."""
2020
assert sdk_client is not None
2121
assert sdk_client.devbox is not None
2222
assert sdk_client.blueprint is not None
2323
assert sdk_client.snapshot is not None
2424
assert sdk_client.storage_object is not None
25+
assert sdk_client.scorer is not None
26+
assert sdk_client.agent is not None
27+
assert sdk_client.scenario is not None
2528

2629
@pytest.mark.timeout(THIRTY_SECOND_TIMEOUT)
2730
def test_legacy_api_access(self, sdk_client: RunloopSDK) -> None:

0 commit comments

Comments
 (0)