]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/Test/TestExportPart_Failure_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_Failure_1.py
index ce36e40267c15a032c0e6cb5d386d7976e008fe8..ea3e0be53be0b2838e27bd014edac552ffcbfd9a 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(partSet, filename, [Part_1.result()])