diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_store.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_store.py b/tests/test_store.py index 4232fc3..e281adb 100644 --- a/tests/test_store.py +++ b/tests/test_store.py | |||
@@ -830,6 +830,7 @@ class ReportStoreTest(WebMockTestCase): | |||
830 | response = mock.Mock() | 830 | response = mock.Mock() |
831 | response.status_code = 200 | 831 | response.status_code = 200 |
832 | response.text = "Hey" | 832 | response.text = "Hey" |
833 | response.elapsed.total_seconds.return_value = 120 | ||
833 | 834 | ||
834 | report_store.log_http_request("method", "url", "body", | 835 | report_store.log_http_request("method", "url", "body", |
835 | "headers", response) | 836 | "headers", response) |
@@ -840,6 +841,7 @@ class ReportStoreTest(WebMockTestCase): | |||
840 | 'body': 'body', | 841 | 'body': 'body', |
841 | 'headers': 'headers', | 842 | 'headers': 'headers', |
842 | 'status': 200, | 843 | 'status': 200, |
844 | 'duration': 120, | ||
843 | 'response': 'Hey', | 845 | 'response': 'Hey', |
844 | 'response_same_as': None, | 846 | 'response_same_as': None, |
845 | }) | 847 | }) |