摘要:
import unittestimport HTMLTestRunnertest as HTMLTestRunner#获取路径path = './'#创建测试套件,读取测试脚本suite = unittest.TestLoader().discover(path,pattern="test*.py" 阅读全文
posted @ 2018-08-03 11:30
菜菜_包包
阅读(592)
评论(0)
推荐(0)
摘要:
import MySQLdbimport MySQLdb.cursors#sql语句sql = "select * from table"#连接数据库db = MySQLdb.connect(host="localhost", user="root", passwd="root1234", char 阅读全文
posted @ 2018-08-03 11:25
菜菜_包包
阅读(569)
评论(0)
推荐(0)
摘要:
接口返回数据: print sql[0][10] {"recv_name":"rdgztest_63126","send_name":"rdgztest_63126","recv_avatar":"https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJ2bWib0T 阅读全文
posted @ 2018-08-03 11:22
菜菜_包包
阅读(248)
评论(0)
推荐(0)

浙公网安备 33010602011771号