From 8c463487d7ac5424fe678de1d05fa4cce4e345f8 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 7 Nov 2024 06:27:38 +1000 Subject: [PATCH] test: do not allow empty Layout= lines The clean_svg.py script has a problem with those, see #818, but either way there's little to be gained from them anyway. Signed-off-by: Peter Hutterer --- test/test_data_files.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_data_files.py b/test/test_data_files.py index 9385b1ca..f8e44676 100755 --- a/test/test_data_files.py +++ b/test/test_data_files.py @@ -75,6 +75,7 @@ def test_svg_exists(tabletfile): try: svg = config["Device"]["Layout"] + assert svg != "", "Empty Layout= line not permitted" assert (layoutsdir() / svg).exists() except KeyError: