Skip to content

Don't let behave tests refer to $HOME resources - #2064

Merged
rolandwalker merged 1 commit into
mainfrom
RW/safer-behave-tests
Jul 27, 2026
Merged

Don't let behave tests refer to $HOME resources#2064
rolandwalker merged 1 commit into
mainfrom
RW/safer-behave-tests

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

  • don't refer to a logfile in $HOME, moving it to a tempfile
  • don't refer to a .mylogin.cnf in $HOME, removing all references

Ideally $HOME would be set to a temporary directory.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

 * don't refer to a logfile in $HOME, moving it to a tempfile
 * don't refer to a .mylogin.cnf in $HOME, removing all references

Ideally $HOME would be set to a temporary directory.
@rolandwalker rolandwalker self-assigned this Jul 27, 2026
@rolandwalker
rolandwalker merged commit ea0c420 into main Jul 27, 2026
11 checks passed
@rolandwalker
rolandwalker deleted the RW/safer-behave-tests branch July 27, 2026 11:08
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