Skip to content

Use pytest monkeypatches for environment variables #8

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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