From: azv Date: Tue, 1 Oct 2019 08:58:51 +0000 (+0300) Subject: Update unit-test for Ellipse X-Git-Tag: V9_4_0a2~4^2~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=98a2e793d1ae3487f2ab365e5726f7040b716eba;p=modules%2Fshaper.git Update unit-test for Ellipse --- diff --git a/src/SketchPlugin/Test/TestConstraintCollinearEllipse.py b/src/SketchPlugin/Test/TestConstraintCollinearEllipse.py index 38fff8975..4964f32e9 100644 --- a/src/SketchPlugin/Test/TestConstraintCollinearEllipse.py +++ b/src/SketchPlugin/Test/TestConstraintCollinearEllipse.py @@ -121,7 +121,7 @@ class TestCollinearEllipse(unittest.TestCase): def test_collinear_ellipse_axes(self): """ Test 3. Set collinear axes of an ellipse. Check conflicting constraints. """ - self.mySketch.setCollinear(self.myEllipse.majorAxis(), self.myEllipse.minorAxis()) + self.mySketch.setCollinear(self.myMajorAxis, self.myMinorAxis) model.end() self.assertNotEqual(self.mySketch.solverError(), "") model.undo()