Mocking os.environ with python unittests
Mocking os.environ with python unittests Question: I am trying to test a class that handles for me the working directory based on a given parameter. To do so, we are using a class variable to map them. When a specific value is passed, the path is retrieved from the environment variables (See baz in the …