Salome HOME
Show "not loaded" suffix for names of not loaded parts
[modules/shaper.git] / test.squish / suite_STANDALONE / tst_PARALLEL_2 / test.py
index 1ffaed826f149e1c572fd593697609388b57182a..dd11d896286f9be5748a4756a670e023a31cafab 100644 (file)
@@ -1,3 +1,23 @@
+## Copyright (C) 2014-2017  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
+## 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<mailto:webmaster.salome@opencascade.com>
+##
+
 def sketch():
     #[step] Create lines [vp VP_SKETCH]
     clickButton(waitForObject(":Basic.Line_AppElements_Button"))
@@ -7,12 +27,12 @@ def sketch():
     mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 739, 397, 0, Qt.LeftButton)
     mouseClick(waitForObject(":OpenParts*_AppElements_ViewPort"), 123, 417, 0, Qt.LeftButton)
     test.vp("VP_SKETCH")
-    
+
     #[step] Create 2 lines parallel
     parallel_create((355, 91), (445, 407))
     # [check] Check that lines are parallel [vp VP_PARALLEL_1]
     test.vp("VP_PARALLEL_1")
-    
+
     #[step] Create 2 other lines parallel
     parallel_create((155, 225), (589, 216))
     #[check] Check that lines are parallel [vp VP_PARALLEL_2]
@@ -20,10 +40,10 @@ def sketch():
 
 def main():
     source(findFile("scripts", "common.py"))
-    
+
     startApplication("linux_run.sh")
     set_defaults()
-    
+
     sketch_create(help_points("XY_plane"), lambda: sketch())
 
     sendEvent("QCloseEvent", waitForObject(":OpenParts*_AppElements_MainWindow"))