Lines Matching refs:testfile
244 def getpath(testfile): argument
246 return os.path.join(path, "data", testfile)
249 def read_expected_ttx(testfile, tableTag): argument
250 name = os.path.splitext(testfile)[0]
273 def open_font(testfile): argument
274 font = TTFont(getpath(testfile))
281 def _skip_if_requirement_missing(testfile): argument
282 if testfile in TEST_REQUIREMENTS:
283 for req in TEST_REQUIREMENTS[testfile]:
288 def test_xml_from_binary(testfile, tableTag): argument
290 _skip_if_requirement_missing(testfile)
292 xml_expected = read_expected_ttx(testfile, tableTag)
294 with open_font(testfile) as font:
300 def test_xml_from_xml(testfile, tableTag): argument
302 _skip_if_requirement_missing(testfile)
304 xml_expected = read_expected_ttx(testfile, tableTag)
307 name = os.path.splitext(testfile)[0]
322 argvalues = [(testfile, tableTag)
323 for testfile, tableTags in sorted(TESTS.items())