Skip to content

Commit 5ef275c

Browse files
committed
fixed expected status for snapshot delete smoketests
1 parent 3c32e27 commit 5ef275c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/smoketests/sdk/test_async_snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def test_snapshot_delete(self, async_sdk_client: AsyncRunloopSDK) -> None:
128128
# Verify it's deleted by checking the status
129129
info = await snapshot.get_info()
130130
# After deletion, the snapshot should have a status indicating it's deleted
131-
assert info.status == "error"
131+
assert info.status == "deleted"
132132
finally:
133133
await devbox.shutdown()
134134

tests/smoketests/sdk/test_snapshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def test_snapshot_delete(self, sdk_client: RunloopSDK) -> None:
126126
# Verify it's deleted by checking the status
127127
info = snapshot.get_info()
128128
# After deletion, the snapshot should have a status indicating it's deleted
129-
assert info.status == "error"
129+
assert info.status == "deleted"
130130
print(info.status)
131131
print(info.error_message)
132132
print(info.snapshot)

0 commit comments

Comments
 (0)