Lines Matching refs:tmpdir
56 def test_fill_document(tmpdir): argument
57 tmpdir = str(tmpdir)
58 testDocPath = os.path.join(tmpdir, "test_v4.designspace")
59 testDocPath5 = os.path.join(tmpdir, "test_v5.designspace")
60 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
61 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
62 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
63 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
214 def test_unicodes(tmpdir): argument
215 tmpdir = str(tmpdir)
216 testDocPath = os.path.join(tmpdir, "testUnicodes.designspace")
217 testDocPath2 = os.path.join(tmpdir, "testUnicodes_roundtrip.designspace")
218 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
219 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
220 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
221 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
272 def test_localisedNames(tmpdir): argument
273 tmpdir = str(tmpdir)
274 testDocPath = os.path.join(tmpdir, "testLocalisedNames.designspace")
275 testDocPath2 = os.path.join(tmpdir, "testLocalisedNames_roundtrip.designspace")
276 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
277 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
278 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
279 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
368 def test_handleNoAxes(tmpdir): argument
369 tmpdir = str(tmpdir)
371 testDocPath = os.path.join(tmpdir, "testNoAxes_source.designspace")
372 testDocPath2 = os.path.join(tmpdir, "testNoAxes_recontructed.designspace")
373 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
374 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
375 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
376 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
431 def test_pathNameResolve(tmpdir): argument
432 tmpdir = str(tmpdir)
434 testDocPath1 = os.path.join(tmpdir, "testPathName_case1.designspace")
435 testDocPath2 = os.path.join(tmpdir, "testPathName_case2.designspace")
436 testDocPath3 = os.path.join(tmpdir, "testPathName_case3.designspace")
437 testDocPath4 = os.path.join(tmpdir, "testPathName_case4.designspace")
438 testDocPath5 = os.path.join(tmpdir, "testPathName_case5.designspace")
439 testDocPath6 = os.path.join(tmpdir, "testPathName_case6.designspace")
440 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
441 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
442 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
443 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
665 def test_rulesConditions(tmpdir): argument
719 def test_rulesDocument(tmpdir): argument
721 tmpdir = str(tmpdir)
722 testDocPath = os.path.join(tmpdir, "testRules.designspace")
723 testDocPath2 = os.path.join(tmpdir, "testRules_roundtrip.designspace")
792 def test_documentLib(tmpdir): argument
794 tmpdir = str(tmpdir)
795 testDocPath1 = os.path.join(tmpdir, "testDocumentLibTest.designspace")
814 def test_updatePaths(tmpdir): argument
816 doc.path = str(tmpdir / "foo" / "bar" / "MyDesignspace.designspace")
828 path1 = posix(str(tmpdir / "foo" / "masters" / "Source1.ufo"))
865 def test_with_with_path_object(tmpdir): argument
867 tmpdir = str(tmpdir)
868 dest = pathlib.Path(tmpdir) / "test_v4_original.designspace"