Skip to content

Commit

Permalink
fix env serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Nov 14, 2024
1 parent 1e9ff2d commit 6c9af46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/pytest-simcore/src/pytest_simcore/minio_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ def minio_s3_settings_envs(
minio_s3_settings: S3Settings,
monkeypatch: pytest.MonkeyPatch,
) -> EnvVarsDict:
changed_envs: EnvVarsDict = minio_s3_settings.model_dump(exclude_unset=True)
changed_envs: EnvVarsDict = minio_s3_settings.model_dump(
mode="json", exclude_unset=True
)
return setenvs_from_dict(monkeypatch, changed_envs)

0 comments on commit 6c9af46

Please sign in to comment.