)]}'
{"nova_powervm/tests/virt/powervm/disk/test_localdisk.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"b48efb4c757717ade9db7683b484a0add28744c0","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    @mock.patch(\u0027pypowervm.tasks.storage.upload_new_vdisk\u0027)"},{"line_number":81,"context_line":"    @mock.patch(\u0027nova.image.API\u0027)"},{"line_number":82,"context_line":"    def test_create_disk_from_image(self, mock_img_api, mock_upload_vdisk):"},{"line_number":83,"context_line":"        mock_upload_vdisk.return_value \u003d (\u0027vdisk\u0027, None)"},{"line_number":84,"context_line":"        inst \u003d mock.Mock()"},{"line_number":85,"context_line":"        inst.name \u003d \u0027Inst Name\u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"da6895a0_cbc5c78e","line":82,"range":{"start_line":82,"start_character":42,"end_line":82,"end_character":54},"updated":"2016-10-25 18:50:54.000000000","message":"This mock isn\u0027t being used... but it should be.  See below.","commit_id":"f9437b5291a2a050496dba2770254deee7654f27"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"ada32d45429136dac4cd9a0e2f427db79a415093","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    @mock.patch(\u0027pypowervm.tasks.storage.upload_new_vdisk\u0027)"},{"line_number":81,"context_line":"    @mock.patch(\u0027nova.image.API\u0027)"},{"line_number":82,"context_line":"    def test_create_disk_from_image(self, mock_img_api, mock_upload_vdisk):"},{"line_number":83,"context_line":"        mock_upload_vdisk.return_value \u003d (\u0027vdisk\u0027, None)"},{"line_number":84,"context_line":"        inst \u003d mock.Mock()"},{"line_number":85,"context_line":"        inst.name \u003d \u0027Inst Name\u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"da6895a0_d46e482e","line":82,"range":{"start_line":82,"start_character":42,"end_line":82,"end_character":54},"in_reply_to":"da6895a0_cbc5c78e","updated":"2016-10-25 23:33:59.000000000","message":"Bleh, this was harder than I expected.  Done tho.","commit_id":"f9437b5291a2a050496dba2770254deee7654f27"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"b48efb4c757717ade9db7683b484a0add28744c0","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        vdisk \u003d self.get_ls(self.apt).create_disk_from_image("},{"line_number":89,"context_line":"            None, inst, powervm.TEST_IMAGE1, 20)"},{"line_number":90,"context_line":"        mock_upload_vdisk.assert_called_with("},{"line_number":91,"context_line":"            mock.ANY, mock.ANY, mock.ANY, mock.ANY, \u0027b_Inst_Nam_d506\u0027,"},{"line_number":92,"context_line":"            powervm.TEST_IMAGE1.size, d_size\u003d21474836480,"},{"line_number":93,"context_line":"            upload_type\u003dtsk_stor.UploadType.FUNC)"},{"line_number":94,"context_line":"        self.assertEqual(\u0027vdisk\u0027, vdisk)"}],"source_content_type":"text/x-python","patch_set":5,"id":"da6895a0_0b6edf94","line":91,"range":{"start_line":91,"start_character":42,"end_line":91,"end_character":50},"updated":"2016-10-25 18:50:54.000000000","message":"This should be validated.  E.g. make a side_effect method for mock_upload_vdisk which a) asserts this arg is callable, b) calls it, and c) asserts that mock_img_api.download was called_once_with(the, right, stuff).","commit_id":"f9437b5291a2a050496dba2770254deee7654f27"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"ada32d45429136dac4cd9a0e2f427db79a415093","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        vdisk \u003d self.get_ls(self.apt).create_disk_from_image("},{"line_number":89,"context_line":"            None, inst, powervm.TEST_IMAGE1, 20)"},{"line_number":90,"context_line":"        mock_upload_vdisk.assert_called_with("},{"line_number":91,"context_line":"            mock.ANY, mock.ANY, mock.ANY, mock.ANY, \u0027b_Inst_Nam_d506\u0027,"},{"line_number":92,"context_line":"            powervm.TEST_IMAGE1.size, d_size\u003d21474836480,"},{"line_number":93,"context_line":"            upload_type\u003dtsk_stor.UploadType.FUNC)"},{"line_number":94,"context_line":"        self.assertEqual(\u0027vdisk\u0027, vdisk)"}],"source_content_type":"text/x-python","patch_set":5,"id":"da6895a0_1479a0f6","line":91,"range":{"start_line":91,"start_character":42,"end_line":91,"end_character":50},"in_reply_to":"da6895a0_0b6edf94","updated":"2016-10-25 23:33:59.000000000","message":"Done","commit_id":"f9437b5291a2a050496dba2770254deee7654f27"}],"nova_powervm/tests/virt/powervm/disk/test_ssp.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"b48efb4c757717ade9db7683b484a0add28744c0","unresolved":false,"context_lines":[{"line_number":360,"context_line":"            context, instance, img_meta, disk_size_gb, image_type\u003dimage_type))"},{"line_number":361,"context_line":"        mock_goru.assert_called_once_with("},{"line_number":362,"context_line":"            self.mock_get_tier.return_value, mock_gin.return_value,"},{"line_number":363,"context_line":"            mock_vuuid.return_value, mock.ANY, img_meta.size,"},{"line_number":364,"context_line":"            upload_type\u003dtsk_stg.UploadType.FUNC)"},{"line_number":365,"context_line":"        mock_gdn.assert_called_once_with(image_type, instance)"},{"line_number":366,"context_line":"        mock_crt_lu.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":5,"id":"da6895a0_8b102f03","line":363,"range":{"start_line":363,"start_character":37,"end_line":363,"end_character":45},"updated":"2016-10-25 18:50:54.000000000","message":"ditto","commit_id":"f9437b5291a2a050496dba2770254deee7654f27"},{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"ada32d45429136dac4cd9a0e2f427db79a415093","unresolved":false,"context_lines":[{"line_number":360,"context_line":"            context, instance, img_meta, disk_size_gb, image_type\u003dimage_type))"},{"line_number":361,"context_line":"        mock_goru.assert_called_once_with("},{"line_number":362,"context_line":"            self.mock_get_tier.return_value, mock_gin.return_value,"},{"line_number":363,"context_line":"            mock_vuuid.return_value, mock.ANY, img_meta.size,"},{"line_number":364,"context_line":"            upload_type\u003dtsk_stg.UploadType.FUNC)"},{"line_number":365,"context_line":"        mock_gdn.assert_called_once_with(image_type, instance)"},{"line_number":366,"context_line":"        mock_crt_lu.assert_called_once_with("}],"source_content_type":"text/x-python","patch_set":5,"id":"da6895a0_946e90ff","line":363,"range":{"start_line":363,"start_character":37,"end_line":363,"end_character":45},"in_reply_to":"da6895a0_8b102f03","updated":"2016-10-25 23:33:59.000000000","message":"Done","commit_id":"f9437b5291a2a050496dba2770254deee7654f27"}]}
