X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2Fmodel%2Ftests%2Ftests.py;fp=src%2FPythonAPI%2Fmodel%2Ftests%2Ftests.py;h=ea60df69f808207f5444c40400f59ce937651f64;hb=aa58bae23056bfc1c2efd91da2653db750273597;hp=92ff8a609bc19296865ceed3a4436be036c3c0fd;hpb=77775df18b724470367a249096344f93fae039c4;p=modules%2Fshaper.git diff --git a/src/PythonAPI/model/tests/tests.py b/src/PythonAPI/model/tests/tests.py index 92ff8a609..ea60df69f 100644 --- a/src/PythonAPI/model/tests/tests.py +++ b/src/PythonAPI/model/tests/tests.py @@ -263,6 +263,7 @@ def testHaveNamingSubshapes(theFeature, theModel, thePartDoc) : """ Tests if all vertices/edges/faces of result have a unique name :param theFeature: feature to test. """ + assert(len(theFeature.results()) > 0) testHaveNamingByType(theFeature, theModel, thePartDoc, GeomAPI_Shape.VERTEX) testHaveNamingByType(theFeature, theModel, thePartDoc, GeomAPI_Shape.EDGE) testHaveNamingByType(theFeature, theModel, thePartDoc, GeomAPI_Shape.FACE)