commit
Showing
1 changed file
with
0 additions
and
3 deletions
| ... | @@ -2,7 +2,6 @@ | ... | @@ -2,7 +2,6 @@ |
| 2 | __author__ = "zhanghao" | 2 | __author__ = "zhanghao" |
| 3 | 3 | ||
| 4 | from airtest.core.api import * | 4 | from airtest.core.api import * |
| 5 | from airtest.report.report import simple_report | ||
| 6 | 5 | ||
| 7 | auto_setup(__file__, logdir=True) | 6 | auto_setup(__file__, logdir=True) |
| 8 | connect_device("Android:///2PF4C19807005028?cap_method=javacap&touch_method=adb") | 7 | connect_device("Android:///2PF4C19807005028?cap_method=javacap&touch_method=adb") |
| ... | @@ -34,5 +33,3 @@ sleep(3) | ... | @@ -34,5 +33,3 @@ sleep(3) |
| 34 | assert_exists(Template(r"tpl1622181718756.png", record_pos=(0.0, -0.31), resolution=(1080, 2340)), "验证退出登录正确") | 33 | assert_exists(Template(r"tpl1622181718756.png", record_pos=(0.0, -0.31), resolution=(1080, 2340)), "验证退出登录正确") |
| 35 | 34 | ||
| 36 | stop_app("com.borui.gsjk") | 35 | stop_app("com.borui.gsjk") |
| 37 | |||
| 38 | # simple_report(__file__) | ... | ... |
-
Please register or sign in to post a comment