From: spo Date: Thu, 13 Aug 2015 12:24:42 +0000 (+0300) Subject: Fix Import/Export tests X-Git-Tag: V_1.4.0_beta4~385 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1d8c393b3a52defdabe34c17f1f370e71d317531;p=modules%2Fshaper.git Fix Import/Export tests --- diff --git a/src/ExchangePlugin/Test/TestImport.py b/src/ExchangePlugin/Test/TestImport.py index f81531f17..d9fc27ff0 100644 --- a/src/ExchangePlugin/Test/TestImport.py +++ b/src/ExchangePlugin/Test/TestImport.py @@ -46,7 +46,7 @@ def testImport(theType, theFile, theVolume, theDelta): # Check shape volume aRefVolume = theVolume - aResVolume = GeomAlgoAPI_ShapeProps.volume(aShape) + aResVolume = GeomAlgoAPI_ShapeTools.volume(aShape) assert (math.fabs(aResVolume - aRefVolume) < theDelta), "{0}: The volume is wrong: expected = {1}, real = {2}".format(theType, aRefVolume, aResVolume) if __name__ == '__main__':