From 1d8c393b3a52defdabe34c17f1f370e71d317531 Mon Sep 17 00:00:00 2001 From: spo Date: Thu, 13 Aug 2015 15:24:42 +0300 Subject: [PATCH] Fix Import/Export tests --- src/ExchangePlugin/Test/TestImport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__': -- 2.39.2