)]}'
{"glance_store/_drivers/cinder/store.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"306632ed675b0b2df289bba353f789f94f3faac0","unresolved":true,"context_lines":[{"line_number":1126,"context_line":"        except cinder_exception.ClientException as e:"},{"line_number":1127,"context_line":"            msg \u003d (_(\u0027Failed to delete volume %(volume_id)s: %(error)s\u0027) %"},{"line_number":1128,"context_line":"                   {\u0027volume_id\u0027: loc.volume_id, \u0027error\u0027: e})"},{"line_number":1129,"context_line":"            raise exceptions.InUseByStore(msg)"}],"source_content_type":"text/x-python","patch_set":1,"id":"67f58725_de66b2de","line":1129,"range":{"start_line":1129,"start_character":12,"end_line":1129,"end_character":46},"updated":"2024-07-01 13:20:56.000000000","message":"Is it possible to check the error message and raise InUseByStore or BackendException accordingly?","commit_id":"9b57c680912362c9cd90cad4869a3c63686dabe5"}],"glance_store/tests/unit/cinder/test_cinder_base.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"4fd7031dc5525878674111234dde5a9c3e0ccbf2","unresolved":true,"context_lines":[{"line_number":794,"context_line":""},{"line_number":795,"context_line":"        with mock.patch.object(cinder.Store, \u0027get_cinderclient\u0027) as mocked_cc:"},{"line_number":796,"context_line":"            mocked_cc.return_value \u003d mock.MagicMock(volumes\u003dfake_volumes)"},{"line_number":797,"context_line":"            self.assertRaises(exceptions.InUseByStore, self.store.delete,"},{"line_number":798,"context_line":"                              loc, context\u003dself.context)"},{"line_number":799,"context_line":""},{"line_number":800,"context_line":"    def test__get_device_size(self):"}],"source_content_type":"text/x-python","patch_set":1,"id":"444cfcd9_91ad4343","line":797,"range":{"start_line":797,"start_character":41,"end_line":797,"end_character":53},"updated":"2024-07-01 13:22:04.000000000","message":"Also this test is not sufficient, we should have a tempest test or functional test in glance based on this patch.","commit_id":"9b57c680912362c9cd90cad4869a3c63686dabe5"}]}
