Skip to content

Commit 2fb1105

Browse files
cursoragentalb-rl
andcommitted
fix: use get_info() instead of info() method
- Fixed type checking errors in tunnel tests - Changed devbox.info() to devbox.get_info() in both sync and async tests Co-authored-by: albert <alb-rl@users.noreply.github.com>
1 parent 9137c90 commit 2fb1105

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/smoketests/sdk/test_async_devbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ async def test_create_tunnel_deprecated(self, async_sdk_client: AsyncRunloopSDK)
460460
assert tunnel.devbox_id == devbox.id
461461

462462
# Verify tunnel persists in devbox info (v2 tunnels cannot be removed)
463-
info = await devbox.info()
463+
info = await devbox.get_info()
464464
assert info.tunnel is not None
465465
assert info.tunnel.tunnel_key is not None
466466
finally:

tests/smoketests/sdk/test_devbox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def test_create_tunnel_deprecated(self, sdk_client: RunloopSDK) -> None:
457457
assert tunnel.devbox_id == devbox.id
458458

459459
# Verify tunnel persists in devbox info (v2 tunnels cannot be removed)
460-
info = devbox.info()
460+
info = devbox.get_info()
461461
assert info.tunnel is not None
462462
assert info.tunnel.tunnel_key is not None
463463
finally:

0 commit comments

Comments
 (0)