Compare commits
No commits in common. "0d01df1ca47c3c5c15f4542381187d6e00351842" and "7e33a689b767136158410a66882f9dcf5aac8018" have entirely different histories.
0d01df1ca4
...
7e33a689b7
1 changed files with 0 additions and 4 deletions
|
|
@ -69,8 +69,6 @@ def test_get_db_file(tmp_path: Path) -> None:
|
||||||
# config is not yet available
|
# config is not yet available
|
||||||
tl.set_config(tmp_path, section, option, value)
|
tl.set_config(tmp_path, section, option, value)
|
||||||
assert tl.get_db_file(tmp_path) == Path("test_value")
|
assert tl.get_db_file(tmp_path) == Path("test_value")
|
||||||
with pytest.raises(FileNotFoundError):
|
|
||||||
tl.get_db_file(tmp_path / "doesnotexist")
|
|
||||||
|
|
||||||
|
|
||||||
def test_cache_enabled(tmp_path: Path) -> None:
|
def test_cache_enabled(tmp_path: Path) -> None:
|
||||||
|
|
@ -84,5 +82,3 @@ def test_cache_enabled(tmp_path: Path) -> None:
|
||||||
tl.set_config(tmp_path, section, option, "lalala")
|
tl.set_config(tmp_path, section, option, "lalala")
|
||||||
with pytest.raises(ValueError):
|
with pytest.raises(ValueError):
|
||||||
tl.cache_enabled(tmp_path)
|
tl.cache_enabled(tmp_path)
|
||||||
with pytest.raises(FileNotFoundError):
|
|
||||||
tl.cache_enabled(tmp_path / "doesnotexist")
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue