]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix Import/Export tests
authorspo <sergey.pokhodenko@opencascade.com>
Thu, 13 Aug 2015 12:24:42 +0000 (15:24 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Thu, 13 Aug 2015 12:24:42 +0000 (15:24 +0300)
src/ExchangePlugin/Test/TestImport.py

index f81531f17c5d257b648dbeecba45d6cdc03287be..d9fc27ff04dfa4260c6a4fa81606724fe142d30b 100644 (file)
@@ -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__':