fix: configio thread safety, tmp cleanup, backup collision, dns empty handling

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-09 11:21:03 -04:00
parent 326f53f23d
commit 31db5cf35e
2 changed files with 30 additions and 7 deletions
+5
View File
@@ -155,3 +155,8 @@ def test_apply_structured_section_unknown_raises(tmp_path):
data = configio.read_roundtrip(str(f))
with pytest.raises(ValueError, match="Unknown structured section"):
configio.apply_structured_section(data, "nope", {"x": 1})
def test_read_roundtrip_missing_file_raises(tmp_path):
with pytest.raises(FileNotFoundError):
configio.read_roundtrip(str(tmp_path / "nonexistent.yaml"))