)]}'
{"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":"921c58f3bb73279af8784eb01ec0953bf3bb1b3d","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    @staticmethod"},{"line_number":71,"context_line":"    def get_ls(adpt):"},{"line_number":72,"context_line":"        return ld.LocalStorage(adpt, \u0027host_uuid\u0027)"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    @mock.patch(\u0027pypowervm.tasks.storage.crt_copy_vdisk\u0027, autospec\u003dTrue)"},{"line_number":75,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.disk.localdisk.LocalStorage.\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_c700ec36","line":72,"updated":"2017-03-22 19:19:54.000000000","message":"Grumble, we\u0027re not testing __init__ explicitly anywhere, which means we don\u0027t have a self.mock_vg_uuid.assert_called_once_with(self.apt, \u0027rootvg\u0027) anywhere.  This would be a good place for it.  But eventually, we should have a full test for __init__ somewhere.","commit_id":"3a8233f958c4756d52e73d0407c7ab91a30aa5c5"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"437627137d3177eab8863fa3ceba2e69d2714cf1","unresolved":false,"context_lines":[{"line_number":58,"context_line":"        self.mock_vg \u003d self.useFixture(fixtures.MockPatch("},{"line_number":59,"context_line":"            \u0027pypowervm.tasks.storage.find_vg\u0027, autospec\u003dTrue)).mock"},{"line_number":60,"context_line":"        self.vg_uuid \u003d \u0027d5065c2c-ac43-3fa6-af32-ea84a3960291\u0027"},{"line_number":61,"context_line":"        self.mock_vg.return_value \u003d (mock.Mock(uuid\u003d\u0027vios_uuid\u0027),"},{"line_number":62,"context_line":"                                     mock.Mock(uuid\u003dself.vg_uuid))"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"        # Return the mgmt uuid"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a1ced50_761e0771","line":61,"updated":"2017-03-22 20:21:46.000000000","message":"Could autospec these.","commit_id":"f2e5bbb097cef0d38e808f4ffa099205792e19c4"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"437627137d3177eab8863fa3ceba2e69d2714cf1","unresolved":false,"context_lines":[{"line_number":278,"context_line":""},{"line_number":279,"context_line":"        # The mock return values"},{"line_number":280,"context_line":"        mock_add_map.return_value \u003d False"},{"line_number":281,"context_line":"        self.mock_vg.return_value \u003d (feed[0], mock.Mock(uuid\u003d\u0027vg_uuid\u0027))"},{"line_number":282,"context_line":"        mock_build_map.return_value \u003d \u0027fake_map\u0027"},{"line_number":283,"context_line":""},{"line_number":284,"context_line":"        # Need the driver to return the actual UUID of the VIOS in the feed,"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a1ced50_39180075","line":281,"updated":"2017-03-22 20:21:46.000000000","message":"Since this is done everywhere, is there any reason we can\u0027t do it in setUp?","commit_id":"f2e5bbb097cef0d38e808f4ffa099205792e19c4"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"e09c18ccc295633f3e21b365517479528a308f72","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        # The mock VIOS needs to have scsi_mappings as a list.  Internals are"},{"line_number":48,"context_line":"        # set by individual test cases as needed."},{"line_number":49,"context_line":"        smaps \u003d [mock.Mock()]"},{"line_number":50,"context_line":"        self.vio_to_vg \u003d mock.Mock(spec\u003dpvm_vios.VIOS, scsi_mappings\u003dsmaps)"},{"line_number":51,"context_line":"        # For our tests, we want find_maps to return the mocked list of scsi"},{"line_number":52,"context_line":"        # mappings in our mocked VIOS."},{"line_number":53,"context_line":"        self.mock_find_maps \u003d self.useFixture(fixtures.MockPatch("}],"source_content_type":"text/x-python","patch_set":3,"id":"1a1ced50_259a936e","line":50,"updated":"2017-03-22 22:20:20.000000000","message":"Okay, but I\u0027m saying, is there any reason this guy can\u0027t be used as the VIOS below?  Add the uuid to it?  And then you can just remove the\n\n self.mock_find_vg.return_value \u003d (feed[0], self.vg)\n\nin all the tests below?","commit_id":"5501e241551d290a224838fa9f987f869bb3c161"}]}
