(monkeypatch: MonkeyPatch, tmp_path: Path)
| 93 | |
| 94 | |
| 95 | def 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') |
nothing calls this directly
no test coverage detected