From 0838881b87f3a59ccd841d247e4b975347529220 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 28 Oct 2026 10:44:16 +0100 Subject: Turn remaining malformed-input crashes into Error Co-Authored-By: Claude Sonnet 5.5 --- tests/test_config.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test_config.py') diff --git a/tests/test_config.py b/tests/test_config.py index 72ed0f6..d88b534 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -88,3 +88,7 @@ class ConfigTest(unittest.TestCase): def test_empty_library_root_is_fatal(self): with self.assertRaisesRegex(Error, "empty library root"): library_roots([""], self.cfg) + + def test_unexpandable_home_is_fatal(self): + with self.assertRaisesRegex(Error, "cannot expand library root"): + library_roots(["~nosuchuser_generat3d/lib"], self.cfg) -- cgit v1.2.3