MCPcopy Create free account
hub / github.com/httpie/cli / test_custom_config_dir

Function test_custom_config_dir

tests/test_config.py:95–98  ·  view source on GitHub ↗
(monkeypatch: MonkeyPatch, tmp_path: Path)

Source from the content-addressed store, hash-verified

93
94
95def test_custom_config_dir(monkeypatch: MonkeyPatch, tmp_path: Path):
96 httpie_config_dir = tmp_path / 'custom/directory'
97 monkeypatch.setenv(ENV_HTTPIE_CONFIG_DIR, str(httpie_config_dir))
98 assert get_default_config_dir() == httpie_config_dir
99
100
101@pytest.mark.skipif(not is_windows, reason='windows-only')

Callers

nothing calls this directly

Calls 1

get_default_config_dirFunction · 0.90

Tested by

no test coverage detected