You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there are some places in the tests that could use this.
it is a context manager that remembers state of environment vars, sets the env vars as given in kwargs, executes the block, and finally restores the previous state of the environment vars.
The text was updated successfully, but these errors were encountered:
pytest monkeypatch can do this as well - but not for unittest.TestCase test methods... so at some point (when client tests are py.test-style) that can be removed. In the meantime it's best to use env_var for unittest-based stuff and monkeypatch where py.test is already used.
there are some places in the tests that could use this.
it is a context manager that remembers state of environment vars, sets the env vars as given in kwargs, executes the block, and finally restores the previous state of the environment vars.
The text was updated successfully, but these errors were encountered: