]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/Test/TestExportPart_FullPart_2.py
Salome HOME
Use temporary name of exported file in tests related to Part's export/import
[modules/shaper.git] / src / ExchangePlugin / Test / TestExportPart_FullPart_2.py
index 060ee5d622306e9a35472b6ff1c4ed13ea728cca..fdbeaa255ec3619f4e17692b5d8b02a6adb7dc27 100644 (file)
@@ -63,8 +63,8 @@ model.end()
 
 import os
 
-filename = 'check_export.shaperpart'
-model.removeFile(filename)
+filename = model.getTmpFileName('check_export', '.shaperpart')
+model.removeTmpFile(filename)
 
 model.begin()
 model.exportPart(Part_2_doc, filename)