Salome HOME
updated copyright message
[modules/shaper.git] / src / ExchangePlugin / Test / TestImportPart_ToEmptyPartSet.py
index b0f2a13b248e4f2de8cd91c2d39d7ab0cfe985b0..1d8bda0f64add85332bdcdfcd8879a6a81b262a9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2022  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -85,6 +85,8 @@ partSet = model.moduleDocument()
 model.importPart(partSet, filename)
 model.end()
 
+model.removeTmpFile(filename)
+
 # Test 1. New Part should be created
 assert(partSet.size(ModelAPI_ResultPart.group()) == 1)
 newPart = modelAPI_ResultPart(objectToResult(partSet.object(ModelAPI_ResultPart.group(), 0)))