store vtk file in tmp directory

This commit is contained in:
Martin Diehl 2020-05-25 23:39:19 +02:00
parent 9076fbe525
commit 9855c61747
1 changed files with 2 additions and 1 deletions

View File

@ -292,5 +292,6 @@ class TestResult:
assert np.allclose(in_memory,in_file)
@pytest.mark.parametrize('output',['F',[],['F','P']])
def test_vtk(self,default,output):
def test_vtk(self,tmp_path,default,output):
os.chdir(tmp_path)
default.to_vtk(output)