Commit 99883b3b by zhaihuitao

update

parent 3157e296
......@@ -16,7 +16,7 @@ class installTestCase(unittest.TestCase):
def testinstall(self):
r = requests.post(url=prod_event_url+event_interface["install"], data=json.dumps(params_install), headers=headers)
print("\n激活事件执行结果:" + r.text)
print(r.url)
# print(r.url)
# self.assertEqual(r.status_code, 200, msg="执行失败,请检查")
if __name__ == "__main__":
......
......@@ -17,8 +17,8 @@ class payTestCase(unittest.TestCase):
def testpayment(self):
r = requests.post(url=prod_event_url+event_interface["payment"], data=json.dumps(params_pay), headers=headers, timeout=5)
print("付费" + r.text)
print(json.dumps(params_pay))
print(r)
# print(json.dumps(params_pay))
# print(r)
if __name__ == "__main__":
unittest.main()
......@@ -16,7 +16,7 @@ from config.prod.params import params_startup
class startupTestCase(unittest.TestCase):
def teststartup(self):
r = requests.post(url=prod_event_url+event_interface["startup"], data=json.dumps(params_startup), headers=headers, timeout=10)
print(r.text+"\n"+r.url)
print('启动'+r.text)
if __name__ == "__main__":
unittest.main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment