)]}'
{"test/unit/test_shell.py":[{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"d28cb11befc1b7b4d186e71fbab9c719b60811f3","unresolved":true,"context_lines":[{"line_number":755,"context_line":"    def test_download_clientexception(self):"},{"line_number":756,"context_line":"        retry_calls \u003d []"},{"line_number":757,"context_line":""},{"line_number":758,"context_line":"        def _fake_retry(conn, *args, **kwargs):"},{"line_number":759,"context_line":"            retry_calls.append((args, kwargs))"},{"line_number":760,"context_line":"            conn.attempts +\u003d 1"},{"line_number":761,"context_line":"            body \u003d mock.MagicMock()"}],"source_content_type":"text/x-python","patch_set":1,"id":"4d07dc20_ddbd7925","line":758,"updated":"2024-01-31 15:15:32.000000000","message":"mocking this means that Connection.get_object() is executed and we get _RetryBody or _ObjectBody instances.","commit_id":"a0a4576b6e16581a3723c93b371cc7fc0370fb8b"},{"author":{"_account_id":7847,"name":"Alistair Coles","email":"alistairncoles@gmail.com","username":"acoles"},"change_message_id":"d28cb11befc1b7b4d186e71fbab9c719b60811f3","unresolved":true,"context_lines":[{"line_number":766,"context_line":"                \u0027x-trans-id\u0027: \u0027someTransId\u0027}),"},{"line_number":767,"context_line":"                    body)"},{"line_number":768,"context_line":""},{"line_number":769,"context_line":"        argv \u003d [\"\", \"download\", \"container\", \"object\", \"--retries\", \"1\"]"},{"line_number":770,"context_line":"        with CaptureOutput() as output:"},{"line_number":771,"context_line":"            with mock.patch(BUILTIN_OPEN) as mock_open:"},{"line_number":772,"context_line":"                with mock.patch(\"swiftclient.service.Connection._retry\","}],"source_content_type":"text/x-python","patch_set":1,"id":"07e1e098_34d5ca37","line":769,"range":{"start_line":769,"start_character":68,"end_line":769,"end_character":71},"updated":"2024-01-31 15:15:32.000000000","message":"I\u0027m not sure why I needed to use --retries\u003d1: it forces _RetryBody to be used. When I change this to --retries\u003d0, and _ObjectBody is used, I see an etag mismatch error ?? I didn\u0027t manage to figure out why the RequestException wasn\u0027t raised, or was raised but not logged.","commit_id":"a0a4576b6e16581a3723c93b371cc7fc0370fb8b"}]}
