)]}'
{"nova/tests/unit/virt/libvirt/test_host.py":[{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"8a14a94b319d3a591dc269e4e1da613254ea5598","unresolved":false,"context_lines":[{"line_number":847,"context_line":"            mock_conn().listDevices.assert_called_once_with(\"pci\", 0)"},{"line_number":848,"context_line":""},{"line_number":849,"context_line":"    def test_compare_cpu(self):"},{"line_number":850,"context_line":"        with mock.patch.object(host.Host, \"get_connection\") as mock_conn:"},{"line_number":851,"context_line":"            mock_conn().compareCPU.return_value \u003d 0"},{"line_number":852,"context_line":"            self.assertEqual(0, self.host.compare_cpu(\"cpuxml\"))"},{"line_number":853,"context_line":"            mock_conn().compareCPU.assert_called_once_with(\"cpuxml\", 0)"}],"source_content_type":"text/x-python","patch_set":4,"id":"7ad32947_f741b33a","line":850,"updated":"2015-04-28 12:47:14.000000000","message":"Same comment as earlier patches","commit_id":"db10df91da21d4d6b26693d745511707499a2202"}],"nova/virt/libvirt/driver.py":[{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"772ec2710eb9503e78326a92dcc49a5ba8b66e0f","unresolved":false,"context_lines":[{"line_number":5143,"context_line":"        m \u003d _(\"CPU doesn\u0027t have compatibility.\\n\\n%(ret)s\\n\\nRefer to %(u)s\")"},{"line_number":5144,"context_line":"        # unknown character exists in xml, then libvirt complains"},{"line_number":5145,"context_line":"        try:"},{"line_number":5146,"context_line":"            ret \u003d self._host.compare_cpu(cpu.to_xml())"},{"line_number":5147,"context_line":"        except libvirt.libvirtError as e:"},{"line_number":5148,"context_line":"            LOG.error(m, {\u0027ret\u0027: e, \u0027u\u0027: u})"},{"line_number":5149,"context_line":"            raise exception.MigrationPreCheckError("}],"source_content_type":"text/x-python","patch_set":2,"id":"9abe1de1_54ee3ded","line":5146,"updated":"2015-04-27 13:07:52.000000000","message":"Rather than just moving the libvirt API call, I think it is reasonable to move this entire \u0027compare_cpu\u0027 method into host.py","commit_id":"88ae3f750b32ed41ff0fcd898ea58d3a6d05f0c4"}]}
