diff --git a/CHANGELOG.md b/CHANGELOG.md index 725533b8..d1d21e77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security +## [0.25.1] - 2024-05-21 + +### Fixed + +- isolate settings context before first test + ## [0.25.0] - 2024-05-14 ### Added diff --git a/mex/common/testing/plugin.py b/mex/common/testing/plugin.py index 4143a088..f76e7755 100644 --- a/mex/common/testing/plugin.py +++ b/mex/common/testing/plugin.py @@ -70,8 +70,11 @@ def settings() -> BaseSettings: @pytest.fixture(autouse=True) -def isolate_settings() -> Generator[None, None, None]: +def isolate_settings( + isolate_assets_dir: None, isolate_work_dir: None +) -> Generator[None, None, None]: """Automatically reset the settings singleton store.""" + SETTINGS_STORE.reset() yield SETTINGS_STORE.reset() diff --git a/pyproject.toml b/pyproject.toml index 21f7af2d..51b69c6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mex-common" -version = "0.25.0" +version = "0.25.1" description = "Common library for MEx python projects." authors = [{ name = "MEx Team", email = "mex@rki.de" }] readme = { file = "README.md", content-type = "text/markdown" }