edencehealth/basecfg

make it possible to fake envvars for testing

Opened this issue · 0 comments

Currently we're always directly using os.environ, it would be useful for testing to enable using a different dict instead.

if envvar_name in os.environ:

We do the same kind of thing with CLI args here:

cli_args: Optional[Sequence[str]] = None,