Skip to content

fix(tests): assert modal terminal integration failures#13325

Open
sgaofen wants to merge 1 commit into
NousResearch:mainfrom
sgaofen:codex/fix-13286-modal-pytest-assertions
Open

fix(tests): assert modal terminal integration failures#13325
sgaofen wants to merge 1 commit into
NousResearch:mainfrom
sgaofen:codex/fix-13286-modal-pytest-assertions

Conversation

@sgaofen

@sgaofen sgaofen commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Root Cause

Pytest ignores truthy/falsy return values from test functions, so logical Modal failures could still pass under pytest collection.

Tests

  • uv run --frozen --python 3.11 --extra dev pytest -o addopts='' --collect-only tests/integration/test_modal_terminal.py (6 tests collected)
  • uv run --frozen --python 3.11 --extra dev pytest -o addopts='' tests/integration/test_modal_terminal.py -q (6 skipped, Modal not configured locally)
  • git diff --check -- tests/integration/test_modal_terminal.py

@alt-glitch alt-glitch added type/test Test coverage or test infrastructure P3 Low — cosmetic, nice to have backend/modal Modal.com cloud execution labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend/modal Modal.com cloud execution P3 Low — cosmetic, nice to have type/test Test coverage or test infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: tests/integration/test_modal_terminal.py returns booleans so logical failures still pass under pytest

2 participants