forked from h080294/appium_python_android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_just_try.py
More file actions
50 lines (36 loc) · 898 Bytes
/
Copy pathtest_just_try.py
File metadata and controls
50 lines (36 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!usr/bin/python
# -*- coding:utf-8 -*-
import sys
from common.ApkBase import ApkInfo
from model.Teststeps import *
sys.path.append('..')
from common.BaseTestCase import *
class test_longpress(BaseTestCase):
@classmethod
def setUpClass(cls):
pass
def setUp(self):
pass
def test_longpress_0(self):
print "美颜"
def test_longpress_1(self):
time.sleep(5)
self.tester.back_to_feed()
print "返回feed"
# 主动skip case
def test_longpress_2(self):
time.sleep(1)
self.skipTest("hahha")
# 主动fail case
def test_longpress_3(self):
time.sleep(1)
self.fail("manual")
def test_longpress_4(self):
time.sleep(1)
print "End 4 ~~~~~"
def tearDown(self):
pass
# 请reset到feed页面
@classmethod
def tearDownClass(cls):
pass