feat: cache downloaded public keys via httpx-cache
This commit is contained in:
parent
2398431a7b
commit
d37bffdc51
6 changed files with 193 additions and 77 deletions
|
|
@ -20,12 +20,6 @@ def test_load_from_file(notebooks_path: Path, settings_file_path: Path):
|
|||
assert settings.notebooks_root_path == notebooks_path
|
||||
|
||||
|
||||
def test_load_from_non_xdg_home_config_raises_file_not_found_error(fs):
|
||||
path = Path("~/.config").expanduser()
|
||||
with pytest.raises(FileNotFoundError, match=f"File {path} does not exist"):
|
||||
load_from_file()
|
||||
|
||||
|
||||
def test_load_from_existing_standard_file(settings_file_path: Path, settings: Settings):
|
||||
standard_settings = load_from_file()
|
||||
assert standard_settings.notebooks_root_path == settings.notebooks_root_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue