]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Update unit-test for Ellipse
authorazv <azv@opencascade.com>
Tue, 1 Oct 2019 08:58:51 +0000 (11:58 +0300)
committerazv <azv@opencascade.com>
Tue, 1 Oct 2019 09:01:57 +0000 (12:01 +0300)
src/SketchPlugin/Test/TestConstraintCollinearEllipse.py

index 38fff8975c7021aaa749bdd28088d51f630ae277..4964f32e91a9a0b3ec02e17db3dba9c804716440 100644 (file)
@@ -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()