Skip to content

Use pytest monkeypatches for environment variables #8

@zner0L

Description

@zner0L

Instead of directly changing the environment, pytest can also do this via monkeypatching: https://docs.pytest.org/en/latest/how-to/monkeypatch.html#monkeypatching-environment-variables

We should do that because it ensures a known test environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions