]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
All axes must have a fallback
authorFelipe Corrêa da Silva Sanches <juca@members.fsf.org>
Tue, 23 Aug 2022 20:37:39 +0000 (17:37 -0300)
committerFelipe Corrêa da Silva Sanches <juca@members.fsf.org>
Tue, 23 Aug 2022 20:43:58 +0000 (17:43 -0300)
(issue #67)

tests/test_axisregistry_api.py

index ec78dec12147f715b4d2c80c5ce790d54bc2aa4e..6e894d3b25885fa76c513bc9f0c39f92b699b004 100644 (file)
@@ -6,6 +6,7 @@ def test_AxisRegistry():
     assert "GRAD" in registry.keys()
     for axis_tag in registry.keys():
         assert len(axis_tag) == 4
+        assert len(registry[axis_tag].fallback) > 0
         for f in range(len(registry[axis_tag].fallback)):
             fallback = registry[axis_tag].fallback[f]