Skip to content

test(cli): live marks sit on tests that start a program - #2861

Merged
dan-petty merged 1 commit into
mainfrom
test/2170-live-marks-sit-on-tests
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
test/2170-live-marks-sit-on-tests

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Summary

Remove module-level pytestmark live markers from five modules and place live markers directly on individual test functions that start external programs.

Closes #2170

Details

  • Removed module-level live marks from five test modules.
  • Placed targeted @pytest.mark.live marks on individual test functions with only the programs they start.
  • Verified hermetic floor rejection on unmarked tests:
    FAILED tests/commands/test_cli_startup_imports.py::test_entry_toggle_ast_invariants - Failed: process edge reached without a fake: python -c pass (A test started a real python: fake it through its seam or mark @pytest.mark.live)

Remove module-level pytestmark live markers from five modules and place live markers directly on test functions that start external programs.

Closes #2170
@dan-petty dan-petty added type/test Type test: a new or changed test scope/cli Core CLI framework, Typer subcommands, options, and tables labels Oct 31, 2026
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 13:14
@dan-petty
dan-petty merged commit e491215 into main Oct 31, 2026
18 checks passed
@dan-petty
dan-petty deleted the test/2170-live-marks-sit-on-tests branch October 31, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/cli Core CLI framework, Typer subcommands, options, and tables type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(cli): live marks sit on the tests that start a program, not on whole modules

1 participant