]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchAPI/Test/TestSketch.py
Salome HOME
Updated copyright comment
[modules/shaper.git] / src / SketchAPI / Test / TestSketch.py
index d1531e2bb505ed535e18ed6d519cef7f5da389e7..ac7d4b8929b6f51b7dc6f38c849c5d8deb4bd2fd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -173,7 +173,7 @@ class SketchTestCase(unittest.TestCase):
     def test_arc_by_projection(self):
         """ Test 10. Create arc by projection of external feature
         """
-        self.sketch.addProjection("[Cylinder_2_1/Face_1][Cylinder_2_1/Face_3]")
+        self.sketch.addProjection(model.selection("EDGE", "[Cylinder_2_1/Face_1][Cylinder_2_1/Face_3]"))
         model.do()
         anArc = SketchAPI.SketchAPI_Arc(model.lastSubFeature(self.sketch, "SketchArc"))