-# 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
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)))