It is already in settings.py. I've added this so if the amazon integration is set from environment variables, they are picked automatically by the app startup but still letting the behave tests control when to enable/disable amazon S3, this looks more consistent to me.