django setting environment variables in unittest tests
django setting environment variables in unittest tests Question: I want to be able to set environment variables in my Django app for tests to be able to run. For instance, my views rely on several API keys. There are ways to override settings during testing, but I don’t want them defined in settings.py as that …
Total answers: 9