]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/Test/TestExportPart_FullPart_1.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_1.py
index 8c48bb60ca16846f715a58582e3734028828e0e9..e4189a3f932e7afec0858f6464ed11615f999a1f 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_1_doc, filename)