Skip to content

test: isolate integration test home#3144

Open
PascalThuet wants to merge 1 commit into
github:mainfrom
PascalThuet:chore/integration-test-isolation
Open

test: isolate integration test home#3144
PascalThuet wants to merge 1 commit into
github:mainfrom
PascalThuet:chore/integration-test-isolation

Conversation

@PascalThuet

Copy link
Copy Markdown
Contributor

What

Isolate integration-test HOME/USERPROFILE and XDG directories to each test tmp path.

Why

Some integrations intentionally write to user-global locations such as ~/.hermes/skills. Without a shared isolation fixture, inherited/base integration tests can write to the real developer or CI home and also block safe parallel execution later.

Validation

  • uv sync --extra test
  • uvx ruff check tests/integrations/conftest.py
  • git diff --check
  • .venv/bin/python -m pytest tests/integrations/test_integration_hermes.py -q (34 passed)
  • .venv/bin/python -m pytest tests/integrations --durations=30 -q (2688 passed, 1 skipped in 100.07s)

Disclosure

Prepared by Codex (model: GPT-5) on behalf of @PascalThuet.

Assisted-by: Codex (model: GPT-5, autonomous)
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