mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-27 11:20:08 +08:00
fix unittest for httpbin response time
This commit is contained in:
@@ -136,7 +136,7 @@ class TestResponse(ApiServerUnittest):
|
||||
]
|
||||
extract_binds_dict = resp_obj.extract_response(extract_binds_list)
|
||||
self.assertGreater(extract_binds_dict["resp_elapsed_microseconds"], 1000)
|
||||
self.assertLess(extract_binds_dict["resp_elapsed_seconds"], 10)
|
||||
self.assertLess(extract_binds_dict["resp_elapsed_seconds"], 60)
|
||||
self.assertEqual(extract_binds_dict["resp_elapsed_days"], 0)
|
||||
self.assertGreater(extract_binds_dict["resp_elapsed_total_seconds"], 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user