Mocking environment variables in python unit test
While writing unit test cases, you may need to mock one or more environment variables.
Environment variables are available through os.environ api. Though technically os.environ is not a dictionary but it fulfills the criteria so that it can be mocke...
kapilg.hashnode.dev2 min read