摘要: 状态码errorcodemessagejson code和message的json 文件 { "api3/getbanneradvertver2":[ {"1006":"token error"}, {"1006":"用户名错误"}, {"1006":"密码错误"} ], "api3/beta4": 阅读全文
posted @ 2020-06-25 09:10 拉努斯石 阅读(274) 评论(0) 推荐(0) 编辑
摘要: #coding=utf-8 import sys import os import configparser base_path = os.getcwd() sys.path.append(base_path) import requests import json from Util.handle 阅读全文
posted @ 2020-06-25 09:09 拉努斯石 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 基本使用 import unittestclass Testcase(unittest.TestCase): @classmethod def setUpClass(cls): pass @classmethod def tearDownClass(cls): pass def setUp(self 阅读全文
posted @ 2020-06-25 09:06 拉努斯石 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 环境搭建 python 安装:建议使用python3.7 pycharm安装 requests安装 :pip3 install requests requests 基本使用 usage: >>> import requests >>> r = requests.get('https://www.py 阅读全文
posted @ 2020-06-25 09:04 拉努斯石 阅读(246) 评论(0) 推荐(0) 编辑