Skip to content

test(docs): Drop the shell config in the test floor - #5836

Merged
dan-petty merged 1 commit into
mainfrom
fix/5268-drop-the-shell-config-in-the-floor
Nov 15, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/5268-drop-the-shell-config-in-the-floor

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

A devcontainer shell exports DEVOPS_CLI_CONFIG with the checkout's config.yaml, and six tests of tests/docs read settings before the per-test fixture set its own config, so the host path guard failed their setup and teardown. tests/conftest.py now drops DEVOPS_CLI_CONFIG at import, before any test reads settings; the per-test config fixture still sets the variable of each test. A floor test pins the line, and the six tests pass with the shell variable set.

Closes #5268

Change: openspec/changes/archive/2026-11-15-5268-drop-the-shell-config-in-the-floor/

@dan-petty dan-petty added type/test Type test: a new or changed test scope/docs Documents, guides, ADRs and generated references labels Nov 15, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 14:49
@dan-petty
dan-petty merged commit 1cb0b29 into main Nov 15, 2026
22 checks passed
@dan-petty
dan-petty deleted the fix/5268-drop-the-shell-config-in-the-floor branch November 15, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/docs Documents, guides, ADRs and generated references type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(docs): six docs tests read DEVOPS_CLI_CONFIG of the shell

1 participant