From 98a2e793d1ae3487f2ab365e5726f7040b716eba Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 1 Oct 2019 11:58:51 +0300 Subject: [PATCH] Update unit-test for Ellipse --- src/SketchPlugin/Test/TestConstraintCollinearEllipse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2