Salome HOME
updated copyright message
[modules/shaper.git] / test.squish / suite_FEATURE_SKETCH / tst_sketch_005 / test.py
index 24dde5dd5196b5e6ed88a19d2d58e36f235ea9e5..c880244cb6b5e71b142c9e09ff801dd82ef63274 100644 (file)
@@ -1,12 +1,31 @@
+# Copyright (C) 2014-2023  CEA, EDF
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
 def sketch():
     #[step] Click 'Create sketch' toolbar button
     #[step] Select XY plane for sketching
     #[step] Sketch - Point
-    #[step] Create point via clicking inside viewer 
+    #[step] Create point via clicking inside viewer
     point_create_in_view((340, 205))
     #[step] Check 'Auxiliary' check-box
     #[step] Create point via clicking inside viewer
-    point_create_in_view((489, 380), 1) 
+    point_create_in_view((489, 380), 1)
     #[step] Finish creation of points via viewer
     #[step] Create point via direct input of coordinates. Use coordinates (50, 60)
     point_create((80, 160))
@@ -26,25 +45,25 @@ def sketch():
     test.vp("VP3")
 
 def main():
-    
-    # [project] NewGEOM
+
+    # [project] SHAPER
     # [Scenario] Sketch_005
     #[Topic] Fixed point
-    #[Tested functionality] 
+    #[Tested functionality]
     #[Summary description]
-    #[Expected results] 
-    
+    #[Expected results]
+
     source(findFile("scripts", "common.py"))
     #[section] Application start
     #[step] Launch SALOME
     startApplication("salome_run.sh")
 
     set_defaults()
-    
-    #[step] Activate NewGeom
+
+    #[step] Activate SHAPER
     #[step]Click 'New' button
-    activate_newgeom()
-    
+    activate_SHAPER()
+
     #[section] Creation of sketch and objects inside it
     #[step] Part - New part
     part_create()