MCPcopy
hub / github.com/tox-dev/tox / test_config_overrides

Function test_config_overrides

tests/config/test_main.py:58–61  ·  view source on GitHub ↗
(tox_ini_conf: ToxIniCreator)

Source from the content-addressed store, hash-verified

56
57
58def test_config_overrides(tox_ini_conf: ToxIniCreator) -> None:
59 conf = tox_ini_conf("[testenv]", override=[Override("testenv.c=ok")]).get_env("py")
60 conf.add_config("c", of_type=str, default="d", desc="desc")
61 assert conf["c"] == "ok"
62
63
64def test_config_override_wins_memory_loader(tox_ini_conf: ToxIniCreator) -> None:

Callers

nothing calls this directly

Calls 4

OverrideClass · 0.90
tox_ini_confFunction · 0.85
get_envMethod · 0.80
add_configMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…