Lines Matching refs:tmpdir
46 def test_fill_document(tmpdir): argument
47 tmpdir = str(tmpdir)
48 testDocPath = os.path.join(tmpdir, "test.designspace")
49 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
50 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
51 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
52 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
193 def test_unicodes(tmpdir): argument
194 tmpdir = str(tmpdir)
195 testDocPath = os.path.join(tmpdir, "testUnicodes.designspace")
196 testDocPath2 = os.path.join(tmpdir, "testUnicodes_roundtrip.designspace")
197 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
198 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
199 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
200 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
250 def test_localisedNames(tmpdir): argument
251 tmpdir = str(tmpdir)
252 testDocPath = os.path.join(tmpdir, "testLocalisedNames.designspace")
253 testDocPath2 = os.path.join(tmpdir, "testLocalisedNames_roundtrip.designspace")
254 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
255 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
256 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
257 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
346 def test_handleNoAxes(tmpdir): argument
347 tmpdir = str(tmpdir)
349 testDocPath = os.path.join(tmpdir, "testNoAxes_source.designspace")
350 testDocPath2 = os.path.join(tmpdir, "testNoAxes_recontructed.designspace")
351 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
352 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
353 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
354 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
409 def test_pathNameResolve(tmpdir): argument
410 tmpdir = str(tmpdir)
412 testDocPath1 = os.path.join(tmpdir, "testPathName_case1.designspace")
413 testDocPath2 = os.path.join(tmpdir, "testPathName_case2.designspace")
414 testDocPath3 = os.path.join(tmpdir, "testPathName_case3.designspace")
415 testDocPath4 = os.path.join(tmpdir, "testPathName_case4.designspace")
416 testDocPath5 = os.path.join(tmpdir, "testPathName_case5.designspace")
417 testDocPath6 = os.path.join(tmpdir, "testPathName_case6.designspace")
418 masterPath1 = os.path.join(tmpdir, "masters", "masterTest1.ufo")
419 masterPath2 = os.path.join(tmpdir, "masters", "masterTest2.ufo")
420 instancePath1 = os.path.join(tmpdir, "instances", "instanceTest1.ufo")
421 instancePath2 = os.path.join(tmpdir, "instances", "instanceTest2.ufo")
643 def test_rulesConditions(tmpdir): argument
697 def test_rulesDocument(tmpdir): argument
699 tmpdir = str(tmpdir)
700 testDocPath = os.path.join(tmpdir, "testRules.designspace")
701 testDocPath2 = os.path.join(tmpdir, "testRules_roundtrip.designspace")
768 def test_documentLib(tmpdir): argument
770 tmpdir = str(tmpdir)
771 testDocPath1 = os.path.join(tmpdir, "testDocumentLibTest.designspace")
790 def test_updatePaths(tmpdir): argument
792 doc.path = str(tmpdir / "foo" / "bar" / "MyDesignspace.designspace")
804 path1 = posix(str(tmpdir / "foo" / "masters" / "Source1.ufo"))
843 def test_with_with_path_object(tmpdir): argument
845 tmpdir = str(tmpdir)
846 dest = pathlib.Path(tmpdir) / "test.designspace"