Skip to content
Commit 4762f541 authored by Arun Babu Neelicattu's avatar Arun Babu Neelicattu Committed by Bartosz Sokorski
Browse files

test: enforce tmp working directory

This change ensures that working director when executing a test
is set to `tmp_path` fixture value.

Additionally, we introduce the `set_project_context` fixture that allows
for test cases to switch cwd to the required fixture project (copied to
`tmp_path` by default) to ensure correct source files are used.
Previously, some tests accidentally picked up incorrect pyproject.toml
files as a result.
parent 64d89315
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment