Skip to content

Commit

Permalink
注释不常用test
Browse files Browse the repository at this point in the history
  • Loading branch information
lovesoo committed Oct 31, 2017
1 parent 1127198 commit 41dd35e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/test_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def test_hessian(self):
id = 123456789
HessianUtil.Invoke(method, req, id)

@nottest
def test_webservice(self):
# webservice接口调用demo
url = 'http://www.gpsso.com/WebService/Dream/Dream.asmx?wsdl'
Expand All @@ -71,6 +72,7 @@ def test_db(self):
print DBUtil.execute('select * from user_info limit 1;', database='user')
print DBUtil.execute('select * from user.dbo.user_info;', database='user', confSection='Sqlserver')

@nottest
def test_OA(self):
# 正交表设计测试用例demo
oat = OAT()
Expand Down Expand Up @@ -109,6 +111,7 @@ def test_redis(self):
print RedisUtil.execute('hexists', 'Search:HotWord', u'刘德华')
print RedisUtil.execute("get", "userSession:%s", "12345", confSection='Redis_Cluster')

@nottest
def test_security(self):
# 加密方法使用demo
import string
Expand Down

0 comments on commit 41dd35e

Please sign in to comment.