From 1177092eb7a5564b3b6d0d7584bc78c911a70537 Mon Sep 17 00:00:00 2001 From: Marc Foley Date: Tue, 23 Jan 2024 14:47:48 +0000 Subject: [PATCH] fix code cov --- tests/test_fix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_fix.py b/tests/test_fix.py index b8fb4b507..efd0a1d26 100644 --- a/tests/test_fix.py +++ b/tests/test_fix.py @@ -281,7 +281,7 @@ def test_ofl_license_strings(static_font): from gftools.constants import OFL_LICENSE_INFO, OFL_LICENSE_URL for id in (13, 14): - assert "sil.org" in static_font["name"].getName(id, 3, 1, 0x409).toUnicode() + assert "http://scripts.sil.org/OFL" in static_font["name"].getName(id, 3, 1, 0x409).toUnicode() fix_license_strings(static_font) for id, expected in ((13, OFL_LICENSE_INFO), (14, OFL_LICENSE_URL)): assert expected == static_font["name"].getName(id, 3, 1, 0x409).toUnicode() \ No newline at end of file