# 自动化测试报告,测试结果如下：

开始时间: 2019-09-17 18:46:20

耗时: 0:00:02.712061

状态: Pass6 Failure2

用例执行情况：

显示 概要 失败 所有

测试组/测试用例 | 总数 | 通过 | 失败 | 错误 | 视图 | 错误截图
case_attention.Case | 3 | 3 | 0 | 0 | 详情 |

test_01: 关注接口

通过
[x]

    pt1.1: 关注接口{'error': 0, 'message': '', 'extra': None, 'data': {'id': 241740487}, 'user_type': {}}

test_02: 关注接口列表

通过
[x]

    pt1.2: 关注接口列表{'error': 0, 'message': '', 'extra': None, 'data': {'followers': [{'id': 241740487, 'icon': 'http://alpha.iyanzhi.com/userextra/2019/03/19/1958/e84df246d3db-w', 'username': '入于她心。', 'is_follow': True, 'follow_time': 1568717180.676594}, {'id': 241406963, 'icon': 'http://hera.s.igengmei.com/2018/12/06/c5b11f93cf-w', 'username': '肉嘟杆君', 'is_follow': True, 'follow_time': 1568629892.272964}], 'user': {'id': 241699033, 'user_name': 'alpha用户_8f0FDQFDq8'}}, 'user_type': {}}

test_03: 取消关注

通过
[x]

    pt1.3: 取消关注接口{'error': 0, 'message': '', 'extra': None, 'data': {'id': 241740487}, 'user_type': {}}

case_news.Case | 5 | 3 | 2 | 0 | 详情 |

test_01: 我的消息接口

通过
[x]

    pt2.1: 我的消息接口{'error': 0, 'message': '', 'extra': None, 'data': [{'user_id': 241407065, 'name': '吓', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/916225ae4e-w', 'id': 15693815, 'is_like': False, 'time': 1566316847.216689, 'content': '会一如既往的支持您\n', 'replied_content': {'id': 55, 'type': 3, 'pictorial_id': 55, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/3769122dca-thumb'}}, {'user_id': 241407123, 'name': 'Liar.', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/ebe3eb1c56-w', 'id': 15693814, 'is_like': False, 'time': 1566316847.043319, 'content': '前排混个眼熟。\n', 'replied_content': {'id': 55, 'type': 3, 'pictorial_id': 55, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/3769122dca-thumb'}}, {'user_id': 241407379, 'name': '传说中的魔女。', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/417ddc1602-w', 'id': 15571358, 'is_like': False, 'time': 1566209707.538654, 'content': '就这么简单吗\n', 'replied_content': {'id': 46801730, 'type': 1, 'topic_id': 46801730, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/ad19a67515-thumb'}}, {'user_id': 241407461, 'name': '夏天也很美', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/308a69dc13-w', 'id': 15571356, 'is_like': False, 'time': 1566209707.29754, 'content': '有链接嘛？\n', 'replied_content': {'id': 46801729, 'type': 1, 'topic_id': 46801729, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/683675d0c8-thumb'}}, {'user_id': 241407128, 'name': 'indulge', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/69611a519c-w', 'id': 15571354, 'is_like': False, 'time': 1566209707.089673, 'content': '真的秀\n', 'replied_content': {'id': 46801728, 'type': 1, 'topic_id': 46801728, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/3769122dca-thumb'}}, {'user_id': 241407328, 'name': '纯净的眸子', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/40a5175ac6-w', 'id': 15571352, 'is_like': False, 'time': 1566209706.82819, 'content': 'get+1\n', 'replied_content': {'id': 46801727, 'type': 1, 'topic_id': 46801727, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/8c241e6ce6-thumb'}}, {'user_id': 241407410, 'name': '君曾顾我城丶', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/620f7a6d88-w', 'id': 15571350, 'is_like': False, 'time': 1566209706.565167, 'content': '那当然了\n', 'replied_content': {'id': 46801726, 'type': 1, 'topic_id': 46801726, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/61eab3a757-thumb'}}, {'user_id': 241407405, 'name': '轻舟向北', 'icon': 'http://alpha-s.iyanzhi.com/2019/08/26/260cecd9a3-w', 'id': 15571348, 'is_like': False, 'time': 1566209706.263565, 'content': '不要抢我的小姐姐\n', 'replied_content': {'id': 46801725, 'type': 1, 'topic_id': 46801725, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/ca0eaedc55-thumb'}}, {'user_id': 241407171, 'name': '我是萌儿', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/c37800e53c-w', 'id': 15570039, 'is_like': False, 'time': 1566209428.447686, 'content': '我该说什么呢…好看!!!\n', 'replied_content': {'id': 46801730, 'type': 1, 'topic_id': 46801730, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/ad19a67515-thumb'}}, {'user_id': 241407170, 'name': '花花', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/ef851047f2-w', 'id': 15570036, 'is_like': False, 'time': 1566209428.240946, 'content': '哇！同款安排上了\n', 'replied_content': {'id': 46801729, 'type': 1, 'topic_id': 46801729, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/683675d0c8-thumb'}}], 'user_type': {}}

test_02: 点赞关注未读数

通过
[x]

    pt2.2: 点赞关注未读数{'error': 0, 'message': '', 'extra': None, 'data': {'count': 0, 'vote_count': 0, 'urge_count': 0}, 'user_type': {}}

test_03: 点赞列表接口

通过
[x]

    pt2.3: 点赞列表接口{'error': 0, 'message': '', 'extra': None, 'data': [{'type': 2, 'id': 3542225, 'content': 'Vera维拉是我催你更新啦~', 'user_id': 241407456, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/e17a19d35d-w', 'unread': False}, {'type': 2, 'id': 3533657, 'content': '冰柠檬催你更新啦~', 'user_id': 241407333, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/d9fadc126b-w', 'unread': False}, {'type': 2, 'id': 3401891, 'content': '米修米修催你更新啦~', 'user_id': 241407264, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/9d94ec0824-w', 'unread': False}, {'type': 2, 'id': 3394334, 'content': '别再多心@催你更新啦~', 'user_id': 241407362, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/1e6624917e-w', 'unread': False}, {'type': 2, 'id': 3386311, 'content': '菠萝Lucy催你更新啦~', 'user_id': 241407516, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/20/e265a3102f-w', 'unread': False}, {'type': 2, 'id': 3377934, 'content': 'S̶i̶n̶k̶沉沦催你更新啦~', 'user_id': 241407099, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/8afeaa5136-w', 'unread': False}, {'type': 2, 'id': 3373701, 'content': '一叶知秋催你更新啦~', 'user_id': 241407241, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/13e8a2898b-w', 'unread': False}, {'type': 2, 'id': 3280677, 'content': '梅子酱催你更新啦~', 'user_id': 241407224, 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/578d15f61f-w', 'unread': False}, {'user_id': 241407321, 'name': '能不能不忧伤', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/23/34232366d9-w', 'time': 1566209785.623652, 'type': 0, 'like_content': {'type': 0, 'id': 46801729, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/683675d0c8-thumb'}}, {'user_id': 241407417, 'name': '曳女', 'icon': 'http://alpha-s.gmeiapp.com/2018/12/21/ba672dea03-w', 'time': 1566209785.429212, 'type': 0, 'like_content': {'type': 0, 'id': 46801728, 'content_type': 2, 'content': 'http://alpha.iyanzhi.com/topicimage/2019/07/30/3769122dca-thumb'}}], 'user_type': {}}

test_04: 获取socket地址

失败
[x]

    ft2.4: 获取socket地址{'error': 1, 'error_code': -1, 'extra': None, 'message': '默认错误', 'user_type': {}, 'data': {}}
    Traceback (most recent call last):
      File "/Users/bingyinliu/PycharmProjects/untitled1/case/case_news.py", line 88, in test_04
        assertclass.error_code(error_code, p)
      File "/Users/bingyinliu/PycharmProjects/untitled1/assert_method/assertclass.py", line 9, in error_code
        assert error_code == 0, "{}error报错：%s！= %s".format(p) % (error_code, 0)
    AssertionError: 获取socket地址error报错：1！= 0

test_04: 获取socket地址_retry:1

失败
[x]

    ft2.5: 获取socket地址{'error': 1, 'error_code': -1, 'extra': None, 'message': '默认错误', 'user_type': {}, 'data': {}}
    Traceback (most recent call last):
      File "/Users/bingyinliu/PycharmProjects/untitled1/case/case_news.py", line 88, in test_04
        assertclass.error_code(error_code, p)
      File "/Users/bingyinliu/PycharmProjects/untitled1/assert_method/assertclass.py", line 9, in error_code
        assert error_code == 0, "{}error报错：%s！= %s".format(p) % (error_code, 0)
    AssertionError: 获取socket地址error报错：1！= 0

统计 | 8 | 6 | 2 | 0 |  |