Skip to content

Commit

Permalink
# 增加pep8对 python class / methods 中入参和出参的variable type注释
Browse files Browse the repository at this point in the history
  • Loading branch information
NHYCRaymond committed Feb 1, 2018
1 parent 19f7e94 commit d5dab95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import click
import os
import unittest
from BeautifulReport import BeautifulReport
from src.lib.BeautifulReport import BeautifulReport
from src.lib import CreateCases

CreateCases.CreateCase()
Expand Down
12 changes: 6 additions & 6 deletions src/report/测试报告.html
Original file line number Diff line number Diff line change
Expand Up @@ -7103,7 +7103,7 @@ <h5>详细数据</h5>
"className": "TestDoubanApi",
"methodName": "test_douban_userinfo",
"description": "测试豆瓣获取用户api的数据",
"spendTime": "0.502 s",
"spendTime": "0.208 s",
"status": "成功",
"log": [
"Response : {'count': 20, 'start': 0, 'users': ['len', 20]}",
Expand All @@ -7127,7 +7127,7 @@ <h5>详细数据</h5>
"className": "TestHttpbin",
"methodName": "test_1_ip_api",
"description": "测试httpbin的ip接口返回正常",
"spendTime": "1.44 s",
"spendTime": "1.04 s",
"status": "成功",
"log": [
"Response : {'ResponseType': ['type', 'dict'], 'origin': ['type', 'str']}",
Expand All @@ -7139,7 +7139,7 @@ <h5>详细数据</h5>
"className": "TestHttpbin",
"methodName": "test_2_headers_api",
"description": "测试httpbin headers 接口返回正常",
"spendTime": "0.603 s",
"spendTime": "0.432 s",
"status": "成功",
"log": [
"Response : {'Connection': 'close', 'Host': 'httpbin.org', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'BaiduSpider'}",
Expand All @@ -7151,7 +7151,7 @@ <h5>详细数据</h5>
"className": "TestHttpbin",
"methodName": "test_3_post_api",
"description": "测试httpbin/post接口的请求与返回结果正确",
"spendTime": "0.513 s",
"spendTime": "0.49 s",
"status": "成功",
"log": [
"Response : {'username': 'Raymond', 'password': '123456'}",
Expand All @@ -7163,8 +7163,8 @@ <h5>详细数据</h5>
"testName": "测试deafult报告",
"testAll": 5,
"testFail": 0,
"beginTime": "2018-02-01 11:57:23",
"totalTime": "4s",
"beginTime": "2018-02-01 15:57:48",
"totalTime": "3s",
"testSkip": 0,
"testError": 0
};
Expand Down

0 comments on commit d5dab95

Please sign in to comment.