From: nds Date: Tue, 4 Apr 2017 12:00:39 +0000 (+0300) Subject: Issue #2024 Redesign of circle and arc of circle: test correction(reason: center... X-Git-Tag: V_2.7.0~82 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a19a211adf8e33c8f722f0ba9332736fea7b0589;p=modules%2Fshaper.git Issue #2024 Redesign of circle and arc of circle: test correction(reason: center attribute is always initialized) --- diff --git a/src/SketchPlugin/Test/TestCreateCircleChangeType.py b/src/SketchPlugin/Test/TestCreateCircleChangeType.py index 4a78584aa..8041ae1b5 100644 --- a/src/SketchPlugin/Test/TestCreateCircleChangeType.py +++ b/src/SketchPlugin/Test/TestCreateCircleChangeType.py @@ -23,9 +23,7 @@ __updated__ = "2017-03-22" def assertNotInitializedByCenterAndPassed(theMacroCircle): # check points - aCenterPoint = geomDataAPI_Point2D(theMacroCircle.attribute("center_point")) aPassedPoint = geomDataAPI_Point2D(theMacroCircle.attribute("passed_point")) - assert (not aCenterPoint.isInitialized()) assert (not aPassedPoint.isInitialized()) # check references aCenterPointRef = theMacroCircle.refattr("center_point_ref")