X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FTest%2FTestExportPart_FullPart_2.py;h=b9cfe618618f0977855dbba267564d12d846dfb0;hb=9acd4538d82fa25748df1714e46b4ee9d09f366a;hp=6b741abbcc4fa0c43f070bea165634904918f189;hpb=584f97832c77adf0c9df154b2f3eb1835bd3ce9e;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/Test/TestExportPart_FullPart_2.py b/src/ExchangePlugin/Test/TestExportPart_FullPart_2.py index 6b741abbc..b9cfe6186 100644 --- a/src/ExchangePlugin/Test/TestExportPart_FullPart_2.py +++ b/src/ExchangePlugin/Test/TestExportPart_FullPart_2.py @@ -1,4 +1,4 @@ -# Copyright (C) 2019 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 @@ -63,8 +63,8 @@ model.end() import os -filename = 'check_export.shaperpart' -model.removeFile(filename) +filename = model.getTmpFileName('check_export', '.shaperpart') +model.removeTmpFile(filename) model.begin() model.exportPart(Part_2_doc, filename)