Getting Started
mock_envvar()
Mock the environment variable then delete it after the test is over.
envvar (str) – The environment variable to mock
str
value (str) – The value to temporarily put in the environment variable during this mock.
None, since this just mocks the environment variable for the time being.
Iterator[None]
Iterator
None