From: Felipe CorrĂȘa da Silva Sanches Date: Tue, 23 Aug 2022 20:37:39 +0000 (-0300) Subject: All axes must have a fallback X-Git-Tag: v0.3.6~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3737cef61e48cc54c8f3dae866e7b2f4dd716df4;p=thirdparty%2Fgoogle%2Ffonts.git All axes must have a fallback (issue #67) --- diff --git a/tests/test_axisregistry_api.py b/tests/test_axisregistry_api.py index ec78dec121..6e894d3b25 100644 --- a/tests/test_axisregistry_api.py +++ b/tests/test_axisregistry_api.py @@ -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]