In Azure Functions you can pass dummy environment variables through local.settings.json, which you set as application settings (ideally with key vault) when you deploy.
However when you run locally, i.e. func host start --function=MyFunction
it always takes your locally defined environment variables over those in the settings file.
I want to access the variable in local.settings.json instead of the value in my environment variables.
I can't find one, and it's annoying if you want to test without having to manually change your environment variables.
Links: Python docs on env vars.