X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FTest%2FTestImportPart_Multiple.py;h=d8e5945c1241e5f5c6591ef7823b57266927e642;hb=88ee9b2b81cf93a6324336b57e30cc8a3a487499;hp=c86ec5f63342456988c0faad765e485238689ea5;hpb=50a8df0c6a66da8067b16155e5ae39f8f26a7ebc;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/Test/TestImportPart_Multiple.py b/src/ExchangePlugin/Test/TestImportPart_Multiple.py index c86ec5f63..d8e5945c1 100644 --- a/src/ExchangePlugin/Test/TestImportPart_Multiple.py +++ b/src/ExchangePlugin/Test/TestImportPart_Multiple.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019-2020 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 @@ -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.removeTmpFile(filename) # export all features from Part_1 model.begin()