Moved blenderbim tests temporary files to separate directory

Moved temporary test files to separate directory and added it to gitignore

Still have test.exp.cache.dat spawning from `test_feature`...
This commit is contained in:
Andrej730
2023-03-01 18:14:52 +05:00
parent 52f18fea85
commit fb3023bb79
7 changed files with 46 additions and 39 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class TestRunMigratePatch(NewFile):
def test_run(self):
cwd = os.path.dirname(os.path.realpath(__file__))
infile = os.path.join(cwd, "..", "files", "ifc2x3.ifc")
outfile = os.path.join(cwd, "..", "files", "ifc2x3-migrated.ifc")
outfile = os.path.join(cwd, "..", "files", "temp", "ifc2x3-migrated.ifc")
subject.run_migrate_patch(infile, outfile, "IFC4")
ifc = ifcopenshell.open(outfile)
assert ifc.schema == "IFC4"