Salome HOME
Use temporary name of exported file in tests related to Part's export/import
[modules/shaper.git] / src / ExchangePlugin / Test / TestImportPart_Multiple.py
index 8ba713cc1c1e2daca23b89f2436b301ca2a2194f..9227c81d4f00572bf2c2d633240a3a4043b28011 100644 (file)
@@ -36,8 +36,8 @@ Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/YOZ"), mod
 model.do()
 model.end()
 
-filename = 'check_export.shaperpart'
-model.removeFile(filename)
+filename = model.getTmpFileName('check_export', '.shaperpart')
+model.removeTmpFile(filename)
 
 # export all features from Part_1
 model.begin()