Salome HOME
upgraded swig support from v4.0.2 to v4.1.1
[modules/shaper.git] / src / FeaturesPlugin / Test / Test17000.py
index 911621c09b081e2134968a3f9761d829f4e47ac6..ac0b2aaac75fca2aa01c5b86f1a04c111d7be1ea 100644 (file)
@@ -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
@@ -235,7 +235,7 @@ model.testNbSubShapes(Partition_1, GeomAPI_Shape.VERTEX, [499])
 
 import math
 from GeomAlgoAPI import *
-aResultArea = GeomAlgoAPI_ShapeTools_area(Partition_1.results()[0].resultSubShapePair()[0].shape())
+aResultArea = GeomAlgoAPI_ShapeTools.area(Partition_1.results()[0].resultSubShapePair()[0].shape())
 anExpectedArea = 70.18465
 assert(math.fabs(aResultArea-anExpectedArea)/anExpectedArea<1e-7)