)]}'
{"nova/virt/libvirt/driver.py":[{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"34855a6378539cf5b9bb02818dd10f4e7c06cac4","unresolved":false,"context_lines":[{"line_number":3495,"context_line":"                libvirt_utils.create_image(info[\u0027type\u0027], instance_disk,"},{"line_number":3496,"context_line":"                                           info[\u0027disk_size\u0027])"},{"line_number":3497,"context_line":"            elif info[\u0027backing_file\u0027]:"},{"line_number":3498,"context_line":"                # Creating backing file follows same way as spawning instances."},{"line_number":3499,"context_line":"                cache_name \u003d os.path.basename(info[\u0027backing_file\u0027])"},{"line_number":3500,"context_line":""},{"line_number":3501,"context_line":"                image \u003d self.image_backend.image(instance,"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAP3%2F%2Fi5g%3D","line":3498,"updated":"2013-07-16 19:01:39.000000000","message":"If you move the content of this block our to a helper method does it become easier to test?  It seems like the difficulty would be with mocking the image.cache command, but if you can just mock a call to a helper method it should be easier.","commit_id":"879565efe51f19bd6f4d69d1b430b995f62106c8"}]}
