Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use temporary name of exported file in tests related to Part's export/import
[modules/shaper.git]
/
src
/
ExchangePlugin
/
Test
/
TestImportPart_Multiple.py
diff --git
a/src/ExchangePlugin/Test/TestImportPart_Multiple.py
b/src/ExchangePlugin/Test/TestImportPart_Multiple.py
index 8ba713cc1c1e2daca23b89f2436b301ca2a2194f..9227c81d4f00572bf2c2d633240a3a4043b28011 100644
(file)
--- a/
src/ExchangePlugin/Test/TestImportPart_Multiple.py
+++ b/
src/ExchangePlugin/Test/TestImportPart_Multiple.py
@@
-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.remove
Tmp
File(filename)
# export all features from Part_1
model.begin()