接口测试容易出现的小错误, response.json后面没有写()
此时, 我手快, 在response.json后面少写了(),
然后此时打印
就没有获取到json , 反而是拿到 <bound method resposn.json of <reponse [200]>>
然后找了一会, 都没发现这个问题, 最后才发现是response.json后面 少了()
此时, 我手快, 在response.json后面少写了(),
然后此时打印
就没有获取到json , 反而是拿到 <bound method resposn.json of <reponse [200]>>
然后找了一会, 都没发现这个问题, 最后才发现是response.json后面 少了()