Salome HOME
Remove temporary files after test execution
[modules/shaper.git] / src / ExchangePlugin / Test / TestImportPart_Construction_3.py
index f73fa94a3590740cd6193e13307f248a3381171b..bf71fc6c5be55b99385d35640cd0bf149f7e25d4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2022  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -69,6 +69,8 @@ partSet = model.moduleDocument()
 model.importPart(partSet, filename)
 model.end()
 
+model.removeTmpFile(filename)
+
 # Test 1. No new Part should be created
 assert(partSet.size(ModelAPI_ResultPart.group()) == 0)