From: azv Date: Thu, 20 Dec 2018 11:32:05 +0000 (+0300) Subject: Fix errors in new unit tests X-Git-Tag: End2018~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3271d75be8ed8ac4f6089f0a22a68ec217abd949;p=modules%2Fshaper.git Fix errors in new unit tests --- diff --git a/src/GeomAPI/Test/TestBuilders.py b/src/GeomAPI/Test/TestBuilders.py index 7e6f96ffa..4728d39c5 100644 --- a/src/GeomAPI/Test/TestBuilders.py +++ b/src/GeomAPI/Test/TestBuilders.py @@ -25,7 +25,6 @@ from GeomAlgoAPI import GeomAlgoAPI_CurveBuilder as curveBuilder from GeomAlgoAPI import GeomAlgoAPI_EdgeBuilder as edgeBuilder from GeomAlgoAPI import GeomAlgoAPI_FaceBuilder as faceBuilder from GeomAlgoAPI import GeomAlgoAPI_ShapeTools as tools -from GeomAlgoAPI import GeomAlgoAPI_MakeVolume as makeVolume from GeomAPI import GeomAPI_Ax3 as ax3 from GeomAPI import GeomAPI_Dir as dir from GeomAPI import GeomAPI_Pnt as pnt diff --git a/src/ModelAPI/Test/TestWeakNamingSortOrder.py b/src/ModelAPI/Test/TestWeakNamingSortOrder.py index 73c53e436..8af90ae11 100644 --- a/src/ModelAPI/Test/TestWeakNamingSortOrder.py +++ b/src/ModelAPI/Test/TestWeakNamingSortOrder.py @@ -42,7 +42,6 @@ model.testNbSubShapes(Translation_1, GeomAPI_Shape.SOLID, [0]) model.testNbSubShapes(Translation_1, GeomAPI_Shape.FACE, [0]) model.testNbSubShapes(Translation_1, GeomAPI_Shape.EDGE, [1]) model.testNbSubShapes(Translation_1, GeomAPI_Shape.VERTEX, [2]) -model.testResultsVolumes(Translation_1, [0]) Part_2 = model.addPart(partSet)