Salome HOME
Cosmetics. Move XML files to the separate folder inside a corresponding project in VS.
[modules/shaper.git] / src / SketchPlugin / Test / TestConstraintTangentEllipticArc.py
index e626cd4623c32a80286685cb0c57c0daa819f8d4..adf8ab809489b508dc03f35105606b49c6805e27 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -438,7 +438,7 @@ class TestTangentEllipticArc(unittest.TestCase):
     """ Test 16. Set tangency between two elliptic arcs, if their extremities are coincident
     """
     anEllipticArc = self.mySketch.addEllipticArc(35, 20, 60, 30, 40, 40, 20, -0.4890968089561491, True)
-    self.mySketch.setCoincident(anEllipticArc.startPoint(), self.myEllipticArc.endPoint())
+    self.mySketch.setCoincident(anEllipticArc.startPoint(), self.myEllipticArc.startPoint())
     self.myNbEllipticArcs += 1
     self.myNbCoincidence += 1
     self.myDOF += 5