Lines Matching refs:testfile
242 def getpath(testfile): argument
244 return os.path.join(path, "data", testfile)
247 def read_expected_ttx(testfile, tableTag): argument
248 name = os.path.splitext(testfile)[0]
271 def open_font(testfile): argument
272 font = TTFont(getpath(testfile))
279 def _skip_if_requirement_missing(testfile): argument
280 if testfile in TEST_REQUIREMENTS:
281 for req in TEST_REQUIREMENTS[testfile]:
286 def test_xml_from_binary(testfile, tableTag): argument
288 _skip_if_requirement_missing(testfile)
290 xml_expected = read_expected_ttx(testfile, tableTag)
292 with open_font(testfile) as font:
298 def test_xml_from_xml(testfile, tableTag): argument
300 _skip_if_requirement_missing(testfile)
302 xml_expected = read_expected_ttx(testfile, tableTag)
305 name = os.path.splitext(testfile)[0]
320 argvalues = [(testfile, tableTag)
321 for testfile, tableTags in sorted(TESTS.items())