fix: align tests with model validation and API error reporting

This commit is contained in:
2026-04-13 01:43:52 -04:00
parent 89abb6ecc6
commit f2cc585d72
22 changed files with 494 additions and 1698 deletions

View File

@@ -32,7 +32,7 @@ class TestDeckyConfig:
assert d.name == "decky-01"
def test_empty_services_raises(self):
with pytest.raises(Exception, match="at least one service"):
with pytest.raises(Exception, match="at least 1 item"):
DeckyConfig(**self._base(services=[]))
def test_multiple_services_ok(self):