ert icon indicating copy to clipboard operation
ert copied to clipboard

Change cwd to tmpdir in some tests currently polluting working dir

Open JHolba opened this issue 1 year ago • 0 comments

Issue some files are created in your working directory when running pytest

Approach change working directory in the test using monkeypatch

  • [x] PR title captures the intent of the changes, and is fitting for release notes.
  • [x] Added appropriate release note label
  • [x] Commit history is consistent and clean, in line with the contribution guidelines.
  • [x] Make sure tests pass locally (after every commit!)

When applicable

  • [ ] When there are user facing changes: Updated documentation
  • [ ] New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • [ ] Large PR: Prepare changes in small commits for more convenient review
  • [ ] Bug fix: Add regression test for the bug
  • [ ] Bug fix: Create Backport PR to latest release

JHolba avatar Apr 05 '24 13:04 JHolba