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

Function test_cli_ini_with_interpolated

tests/config/cli/test_cli_ini.py:142–147  ·  view source on GitHub ↗
(tmp_path: Path, monkeypatch: MonkeyPatch)

Source from the content-addressed store, hash-verified

140
141
142def test_cli_ini_with_interpolated(tmp_path: Path, monkeypatch: MonkeyPatch) -> None:
143 to = tmp_path / "tox.ini"
144 to.write_text("[tox]\na = %(b)s")
145 monkeypatch.setenv("TOX_USER_CONFIG_FILE", str(to))
146 conf = IniConfig()
147 assert conf.get("a", str)
148
149
150@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
IniConfigClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…