Skip to content

Commit

Permalink
test: do not allow empty Layout= lines
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
whot committed Nov 7, 2024
1 parent 8c5569a commit 1c1205f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_data_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1c1205f

Please sign in to comment.