摘要: sql语句出错 sql = "INSERT INTO table1(word) VALUES (%s)" % (str) 改为 "INSERT INTO table1(word) VALUES ('%s')" % (str) 只要是values里面的值,都需要加“” 阅读全文
posted @ 2019-10-24 10:58 狂飙的老蜗牛 阅读(6327) 评论(0) 推荐(1) 编辑
摘要: 使用unittest框架进行自动化测试,传参很麻烦,所以需要改装一下 具体参考如下两篇博客 https://blog.csdn.net/hqzxsc2006/article/details/50125735 https://blog.csdn.net/weixin_42274149/article/ 阅读全文
posted @ 2019-10-24 09:33 狂飙的老蜗牛 阅读(975) 评论(0) 推荐(0) 编辑