X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FTest%2FTestImportPart_ToEmptyPart.py;h=fe88770a57cc42921361eabe56f43927d09da0cd;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=0adc587175d87c90a6f436850c855d0d3e357d6c;hpb=d93b4753ab1963c3bcd942888362c255aa20f600;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/Test/TestImportPart_ToEmptyPart.py b/src/ExchangePlugin/Test/TestImportPart_ToEmptyPart.py index 0adc58717..fe88770a5 100644 --- a/src/ExchangePlugin/Test/TestImportPart_ToEmptyPart.py +++ b/src/ExchangePlugin/Test/TestImportPart_ToEmptyPart.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2021 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 @@ -87,6 +87,8 @@ Part_1_doc = Part_1.document() model.importPart(Part_1_doc, filename) model.end() +model.removeTmpFile(filename) + # Test 1. No new Part should be created assert(partSet.size(ModelAPI_ResultPart.group()) == 1)