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_AfterCurrent_2.py
diff --git
a/src/ExchangePlugin/Test/TestImportPart_AfterCurrent_2.py
b/src/ExchangePlugin/Test/TestImportPart_AfterCurrent_2.py
index 5742c570feef9da8e9e55606103d688ee768b6be..5d79c5b24ce180b30762219bf0e3f7c5a070522c 100644
(file)
--- a/
src/ExchangePlugin/Test/TestImportPart_AfterCurrent_2.py
+++ b/
src/ExchangePlugin/Test/TestImportPart_AfterCurrent_2.py
@@
-34,8
+34,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)
# store the reference data
features = Part_1_doc.allFeatures()