]> SALOME platform Git repositories - modules/shaper.git/blob - test.squish/suite_ISSUES/tst_PERPENDICULAR_1/test.py
Salome HOME
Fix suite_ISSUES/tst_PARALLEL_2 for CentOS
[modules/shaper.git] / test.squish / suite_ISSUES / tst_PERPENDICULAR_1 / test.py
1 def sketch():
2     line_create((145, 205), (305, 118))
3     line_create((221, 60), (195, 322))
4     
5     clickButton(waitForObject(":OpenParts*.Fit all_QToolButton"))
6     
7     perpendicular_create((323, 193),(246, 326))
8     test.vp("VP1")
9
10 def main():
11     source(findFile("scripts", "common.py"))
12     
13     startApplication("linux_run.sh")
14     set_defaults()
15     
16     sketch_create(help_points("XY_plane"), lambda: sketch())
17
18     sendEvent("QCloseEvent", waitForObject(":OpenParts*_AppElements_MainWindow"))