)]}'
{"nova_powervm/tests/virt/powervm/test_vm.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d9136acffea639e9e6bdc56587eb5f5895842f43","unresolved":false,"context_lines":[{"line_number":572,"context_line":"            mock_lock.assert_called_once_with(\u0027power_%s\u0027 % instance.uuid)"},{"line_number":573,"context_line":"            mock_lock.reset_mock()"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.PowerOp.stop\u0027)"},{"line_number":576,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.power_off_progressive\u0027)"},{"line_number":577,"context_line":"    @mock.patch(\u0027oslo_concurrency.lockutils.lock\u0027)"},{"line_number":578,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vm.get_instance_wrapper\u0027)"},{"line_number":579,"context_line":"    def test_power_off(self, mock_wrap, mock_lock, mock_power_off, mock_stop):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_3563de44","line":576,"range":{"start_line":575,"start_character":0,"end_line":576,"end_character":62},"updated":"2017-06-23 15:13:15.000000000","message":"autospec these, since we\u0027re here.","commit_id":"2849908008874ee4cd505f65c8f6803d2a889d58"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"876fba21906c4f5423f55db4d718458986aaccd5","unresolved":false,"context_lines":[{"line_number":572,"context_line":"            mock_lock.assert_called_once_with(\u0027power_%s\u0027 % instance.uuid)"},{"line_number":573,"context_line":"            mock_lock.reset_mock()"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.PowerOp.stop\u0027)"},{"line_number":576,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.power_off_progressive\u0027)"},{"line_number":577,"context_line":"    @mock.patch(\u0027oslo_concurrency.lockutils.lock\u0027)"},{"line_number":578,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vm.get_instance_wrapper\u0027)"},{"line_number":579,"context_line":"    def test_power_off(self, mock_wrap, mock_lock, mock_power_off, mock_stop):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_384e336f","line":576,"range":{"start_line":575,"start_character":0,"end_line":576,"end_character":62},"in_reply_to":"5f201791_3563de44","updated":"2017-06-23 15:22:24.000000000","message":"Done","commit_id":"2849908008874ee4cd505f65c8f6803d2a889d58"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d9136acffea639e9e6bdc56587eb5f5895842f43","unresolved":false,"context_lines":[{"line_number":611,"context_line":"                             str(mock_stop.call_args[1][\u0027opts\u0027]))"},{"line_number":612,"context_line":"            mock_lock.assert_called_once_with(\u0027power_%s\u0027 % instance.uuid)"},{"line_number":613,"context_line":""},{"line_number":614,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.power_off_progressive\u0027)"},{"line_number":615,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vm.get_instance_wrapper\u0027)"},{"line_number":616,"context_line":"    def test_power_off_negative(self, mock_wrap, mock_power_off):"},{"line_number":617,"context_line":"        \"\"\"Negative tests.\"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_f55c467f","line":614,"range":{"start_line":614,"start_character":0,"end_line":614,"end_character":62},"updated":"2017-06-23 15:13:15.000000000","message":"ditto","commit_id":"2849908008874ee4cd505f65c8f6803d2a889d58"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"876fba21906c4f5423f55db4d718458986aaccd5","unresolved":false,"context_lines":[{"line_number":611,"context_line":"                             str(mock_stop.call_args[1][\u0027opts\u0027]))"},{"line_number":612,"context_line":"            mock_lock.assert_called_once_with(\u0027power_%s\u0027 % instance.uuid)"},{"line_number":613,"context_line":""},{"line_number":614,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.power_off_progressive\u0027)"},{"line_number":615,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vm.get_instance_wrapper\u0027)"},{"line_number":616,"context_line":"    def test_power_off_negative(self, mock_wrap, mock_power_off):"},{"line_number":617,"context_line":"        \"\"\"Negative tests.\"\"\""}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_1851370f","line":614,"range":{"start_line":614,"start_character":0,"end_line":614,"end_character":62},"in_reply_to":"5f201791_f55c467f","updated":"2017-06-23 15:22:24.000000000","message":"Done","commit_id":"2849908008874ee4cd505f65c8f6803d2a889d58"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d9136acffea639e9e6bdc56587eb5f5895842f43","unresolved":false,"context_lines":[{"line_number":628,"context_line":"    @mock.patch(\u0027oslo_concurrency.lockutils.lock\u0027)"},{"line_number":629,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vm.get_instance_wrapper\u0027)"},{"line_number":630,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.power_on\u0027)"},{"line_number":631,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.power_off_progressive\u0027)"},{"line_number":632,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.PowerOp.stop\u0027)"},{"line_number":633,"context_line":"    def test_reboot(self, mock_stop, mock_pwroff, mock_pwron, mock_giw,"},{"line_number":634,"context_line":"                    mock_lock):"},{"line_number":635,"context_line":"        entry \u003d mock.Mock()"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_1566a252","line":632,"range":{"start_line":631,"start_character":0,"end_line":632,"end_character":53},"updated":"2017-06-23 15:13:15.000000000","message":"ditto","commit_id":"2849908008874ee4cd505f65c8f6803d2a889d58"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"876fba21906c4f5423f55db4d718458986aaccd5","unresolved":false,"context_lines":[{"line_number":628,"context_line":"    @mock.patch(\u0027oslo_concurrency.lockutils.lock\u0027)"},{"line_number":629,"context_line":"    @mock.patch(\u0027nova_powervm.virt.powervm.vm.get_instance_wrapper\u0027)"},{"line_number":630,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.power_on\u0027)"},{"line_number":631,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.power_off_progressive\u0027)"},{"line_number":632,"context_line":"    @mock.patch(\u0027pypowervm.tasks.power.PowerOp.stop\u0027)"},{"line_number":633,"context_line":"    def test_reboot(self, mock_stop, mock_pwroff, mock_pwron, mock_giw,"},{"line_number":634,"context_line":"                    mock_lock):"},{"line_number":635,"context_line":"        entry \u003d mock.Mock()"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_d85a9f28","line":632,"range":{"start_line":631,"start_character":0,"end_line":632,"end_character":53},"in_reply_to":"5f201791_1566a252","updated":"2017-06-23 15:22:24.000000000","message":"Done","commit_id":"2849908008874ee4cd505f65c8f6803d2a889d58"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7d1bf05cc2de582f18eadb795b0a6f0293871336","unresolved":false,"context_lines":[{"line_number":583,"context_line":""},{"line_number":584,"context_line":"        self.assertFalse(vm.power_off(None, instance))"},{"line_number":585,"context_line":"        self.assertEqual(0, mock_power_off.call_count)"},{"line_number":586,"context_line":"        self.assertEqual(0, mock_pop.call_count)"},{"line_number":587,"context_line":"        mock_lock.assert_called_once_with(\u0027power_%s\u0027 % instance.uuid)"},{"line_number":588,"context_line":""},{"line_number":589,"context_line":"        stop_states \u003d ["}],"source_content_type":"text/x-python","patch_set":3,"id":"5f201791_59175ea5","line":586,"updated":"2017-06-27 15:02:40.000000000","message":"shouldn\u0027t this be mock_pop.stop.call_count?","commit_id":"f1874d70bc4662dd06ef2b3b48aa23be819e29aa"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"2d9d98b6a0b75f99fbee71ece88328ffa229e10f","unresolved":false,"context_lines":[{"line_number":583,"context_line":""},{"line_number":584,"context_line":"        self.assertFalse(vm.power_off(None, instance))"},{"line_number":585,"context_line":"        self.assertEqual(0, mock_power_off.call_count)"},{"line_number":586,"context_line":"        self.assertEqual(0, mock_pop.call_count)"},{"line_number":587,"context_line":"        mock_lock.assert_called_once_with(\u0027power_%s\u0027 % instance.uuid)"},{"line_number":588,"context_line":""},{"line_number":589,"context_line":"        stop_states \u003d ["}],"source_content_type":"text/x-python","patch_set":3,"id":"ff346bd7_3a4f9abe","line":586,"in_reply_to":"5f201791_59175ea5","updated":"2017-07-24 15:04:44.000000000","message":"Good catch, done.","commit_id":"f1874d70bc4662dd06ef2b3b48aa23be819e29aa"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"7d1bf05cc2de582f18eadb795b0a6f0293871336","unresolved":false,"context_lines":[{"line_number":598,"context_line":"            mock_lock.reset_mock()"},{"line_number":599,"context_line":"            self.assertTrue(vm.power_off(None, instance))"},{"line_number":600,"context_line":"            mock_power_off.assert_called_once_with(entry)"},{"line_number":601,"context_line":"            self.assertEqual(0, mock_pop.call_count)"},{"line_number":602,"context_line":"            mock_lock.assert_called_once_with(\u0027power_%s\u0027 % instance.uuid)"},{"line_number":603,"context_line":"            mock_power_off.reset_mock()"},{"line_number":604,"context_line":"            mock_pop.stop.reset_mock()"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f201791_d92a4ed9","line":601,"updated":"2017-06-27 15:02:40.000000000","message":"ditto","commit_id":"f1874d70bc4662dd06ef2b3b48aa23be819e29aa"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"2d9d98b6a0b75f99fbee71ece88328ffa229e10f","unresolved":false,"context_lines":[{"line_number":598,"context_line":"            mock_lock.reset_mock()"},{"line_number":599,"context_line":"            self.assertTrue(vm.power_off(None, instance))"},{"line_number":600,"context_line":"            mock_power_off.assert_called_once_with(entry)"},{"line_number":601,"context_line":"            self.assertEqual(0, mock_pop.call_count)"},{"line_number":602,"context_line":"            mock_lock.assert_called_once_with(\u0027power_%s\u0027 % instance.uuid)"},{"line_number":603,"context_line":"            mock_power_off.reset_mock()"},{"line_number":604,"context_line":"            mock_pop.stop.reset_mock()"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff346bd7_1a4cd6c5","line":601,"in_reply_to":"5f201791_d92a4ed9","updated":"2017-07-24 15:04:44.000000000","message":"Done","commit_id":"f1874d70bc4662dd06ef2b3b48aa23be819e29aa"}]}
