How to read env vars from settings in django unittest?

I am new to unittesting. I want to read some env vars in django unittests, but I am having some troubles when trying to read the env var from django.conf.settings, but I can read the env var using os.environ.get(). How can I access the current env var from django.conf.settings? The test code looks like the… Read More How to read env vars from settings in django unittest?