Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: properly mock the environment (canonical#1385)
These two tests change `os.environ` without restoring it afterwards, which means that the changes leak into other tests. Change that by using `monkeypatch.setenv`.
- Loading branch information