Skip to content

fix(python): resolve integration test failures and API mismatches#306

Merged
DorianZheng merged 1 commit intomainfrom
fix/python-integration-test-failures
Feb 26, 2026
Merged

fix(python): resolve integration test failures and API mismatches#306
DorianZheng merged 1 commit intomainfrom
fix/python-integration-test-failures

Conversation

@DorianZheng
Copy link
Copy Markdown
Member

  • test_resize_tty: use SyncBox (via runtime.create) instead of SyncSimpleBox which lacks tty support
  • test_options: fix cmd test to use long-running process, collect stdout from execution stream instead of non-existent result.stdout, un-skip auto_remove+detach combination test (now accepted by API)
  • test_shutdown: rewrite to reuse shared runtime's event loop/dispatcher with isolated Boxlite instance to avoid asyncio loop conflicts
  • Delete duplicate async test files (test_codebox.py, test_simplebox.py) and convert remaining to sync API

Result: 110 passed, 21 skipped (credential-gated), 0 failures.

- test_resize_tty: use SyncBox (via runtime.create) instead of
  SyncSimpleBox which lacks tty support
- test_options: fix cmd test to use long-running process, collect
  stdout from execution stream instead of non-existent result.stdout,
  un-skip auto_remove+detach combination test (now accepted by API)
- test_shutdown: rewrite to reuse shared runtime's event loop/dispatcher
  with isolated Boxlite instance to avoid asyncio loop conflicts
- Delete duplicate async test files (test_codebox.py, test_simplebox.py)
  and convert remaining to sync API

Result: 110 passed, 21 skipped (credential-gated), 0 failures.
@DorianZheng DorianZheng merged commit 517c839 into main Feb 26, 2026
22 checks passed
@DorianZheng DorianZheng deleted the fix/python-integration-test-failures branch February 26, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant