X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FTest%2FTestImportPart_Construction_1.py;h=a6920f31990fa0211b2dbc4b1c70d5a59c6f463d;hb=d93b4753ab1963c3bcd942888362c255aa20f600;hp=7b851bdce43dcd72295d2f3e57fb3933f01becd8;hpb=c2703b4647f9b1ebc6ec1f4a378721dde523159f;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/Test/TestImportPart_Construction_1.py b/src/ExchangePlugin/Test/TestImportPart_Construction_1.py index 7b851bdce..a6920f319 100644 --- a/src/ExchangePlugin/Test/TestImportPart_Construction_1.py +++ b/src/ExchangePlugin/Test/TestImportPart_Construction_1.py @@ -49,8 +49,8 @@ for feat in features: res.append(GeomAlgoAPI_ShapeTools.volume(r.shape())) refData.append( (feat.getKind(), res) ) -filename = 'check_export.shaperpart' -model.removeFile(filename) +filename = model.getTmpFileName('check_export', '.shaperpart') +model.removeTmpFile(filename) # emport the document model.begin()