MCPcopy Index your code
hub / github.com/pyinvoke/invoke / underscores_nested

Method underscores_nested

tests/config.py:713–717  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

711 assert c.foo_bar == "biz"
712
713 def underscores_nested(self):
714 os.environ["INVOKE_FOO_BAR"] = "biz"
715 c = Config(defaults={"foo": {"bar": "notbiz"}})
716 c.load_shell_env()
717 assert c.foo.bar == "biz"
718
719 def both_types_of_underscores_mixed(self):
720 os.environ["INVOKE_FOO_BAR_BIZ"] = "baz"

Callers

nothing calls this directly

Calls 2

load_shell_envMethod · 0.95
ConfigClass · 0.90

Tested by

no test coverage detected