1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
From: Agathe Porte <microjoe@microjoe.org>
Date: Mon, 20 Sep 2021 13:43:08 +0200
Subject: Remove test requiring non-DFSG data
Forwarded: not-needed
---
tests/vttLib_test.py | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/tests/vttLib_test.py b/tests/vttLib_test.py
index 22359a8..449f733 100644
--- a/tests/vttLib_test.py
+++ b/tests/vttLib_test.py
@@ -184,29 +184,3 @@ class TestTransformAssembly(object):
assert expected == generated
-
-def test_TSIC_compile(tmp_path, original_shared_datadir):
- orig_ttf = original_shared_datadir / "NotoSans-MM-ASCII-VF.ttf"
- orig_ttx = original_shared_datadir / "NotoSans-MM-ASCII-VF.ttx"
- vtt_ttx = original_shared_datadir / "NotoSans-MM-ASCII-VF-VTT.ttx"
- vttLib_tmp_ttf = tmp_path / "NotoSans-MM-ASCII-VF.ttf"
- vtt_tmp_ttf = tmp_path / "NotoSans-MM-ASCII-VF-VTT.ttf"
-
- # Font built by vttLib
- shutil.copyfile(orig_ttf, vttLib_tmp_ttf)
- vtt_merge_file(orig_ttx, vttLib_tmp_ttf)
- vtt_compile(vttLib_tmp_ttf, force_overwrite=True)
-
- # Font built by VTT
- shutil.copyfile(orig_ttf, vtt_tmp_ttf)
- vtt_merge_file(vtt_ttx, vtt_tmp_ttf, keep_cvar=True)
-
- # Make sure they're the same
- vttLib_font = TTFont(vttLib_tmp_ttf)
- vtt_font = TTFont(vtt_tmp_ttf)
- assert "cvar" in vttLib_font
- assert "cvar" in vtt_font
- assert vttLib_font["cvar"] == vtt_font["cvar"]
- assert "cvt " in vttLib_font
- assert "cvt " in vtt_font
- assert vttLib_font["cvt "] == vtt_font["cvt "]
|