mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
fix unstability in unittest
This commit is contained in:
@@ -135,7 +135,7 @@ class TestResponse(ApiServerUnittest):
|
||||
]
|
||||
extract_binds_dict = resp_obj.extract_response(extract_binds_list)
|
||||
self.assertGreater(extract_binds_dict["resp_elapsed_microseconds"], 1000)
|
||||
self.assertEqual(extract_binds_dict["resp_elapsed_seconds"], 0)
|
||||
self.assertLess(extract_binds_dict["resp_elapsed_seconds"], 3)
|
||||
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