aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-28 10:44:16 +0100
committerDanilo M. <danix@danix.xyz>2026-10-28 10:44:16 +0100
commit0838881b87f3a59ccd841d247e4b975347529220 (patch)
treede0684bcf35e91c75ed5c615f88bc639fe4e2e44 /tests/test_config.py
parentd368de4b30d8a1dc9bb72ba45c55b07d3f034c82 (diff)
downloadgenerat3D-0838881b87f3a59ccd841d247e4b975347529220.tar.gz
generat3D-0838881b87f3a59ccd841d247e4b975347529220.zip
Turn remaining malformed-input crashes into Error
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py4
1 files changed, 4 insertions, 0 deletions
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)