)]}'
{"nova/tests/api/ec2/test_cloud.py":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"dcf20ec594ef1e405e2d23f8f503a5452ec78746","unresolved":false,"context_lines":[{"line_number":2269,"context_line":"        # a running instance can\u0027t be started."},{"line_number":2270,"context_line":"        self.assertRaises(exception.InstanceInvalidState,"},{"line_number":2271,"context_line":"                          self.cloud.start_instances,"},{"line_number":2272,"context_line":"                          self.context, [instance_id])"},{"line_number":2273,"context_line":"        rules \u003d {"},{"line_number":2274,"context_line":"            \"compute:reboot\":"},{"line_number":2275,"context_line":"                common_policy.parse_rule(\"project_id:non_fake\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"AAAAUX%2F%2B6Wk%3D","line":2272,"updated":"2014-02-18 08:54:55.000000000","message":"Why do we need this assertRaises()?\nThis seems different from the test purpose.","commit_id":"eab9cac56b849d529c826fd0b491d60237ef2330"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"d7058f00268192908404ff3c79c6dc8b733ecb5a","unresolved":false,"context_lines":[{"line_number":2269,"context_line":"        # a running instance can\u0027t be started."},{"line_number":2270,"context_line":"        self.assertRaises(exception.InstanceInvalidState,"},{"line_number":2271,"context_line":"                          self.cloud.start_instances,"},{"line_number":2272,"context_line":"                          self.context, [instance_id])"},{"line_number":2273,"context_line":"        rules \u003d {"},{"line_number":2274,"context_line":"            \"compute:reboot\":"},{"line_number":2275,"context_line":"                common_policy.parse_rule(\"project_id:non_fake\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"AAAAUX%2F%2B5%2F4%3D","line":2272,"in_reply_to":"AAAAUX%2F%2B6C4%3D","updated":"2014-02-18 09:29:28.000000000","message":"Thanks for pointing it out, I got it.","commit_id":"eab9cac56b849d529c826fd0b491d60237ef2330"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"0d7f0492a4280621df2c87caed9ee18887e0e9a0","unresolved":false,"context_lines":[{"line_number":2269,"context_line":"        # a running instance can\u0027t be started."},{"line_number":2270,"context_line":"        self.assertRaises(exception.InstanceInvalidState,"},{"line_number":2271,"context_line":"                          self.cloud.start_instances,"},{"line_number":2272,"context_line":"                          self.context, [instance_id])"},{"line_number":2273,"context_line":"        rules \u003d {"},{"line_number":2274,"context_line":"            \"compute:reboot\":"},{"line_number":2275,"context_line":"                common_policy.parse_rule(\"project_id:non_fake\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"AAAAUX%2F%2B6C4%3D","line":2272,"in_reply_to":"AAAAUX%2F%2B6Fo%3D","updated":"2014-02-18 09:26:26.000000000","message":"Ken\u0027ichi, I recheck the code. I think it isn\u0027t a mistake. this just ensure the instance is started. Like line 2256","commit_id":"eab9cac56b849d529c826fd0b491d60237ef2330"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"d5a3770671dd9f0938cb73422395e91ef89f80e8","unresolved":false,"context_lines":[{"line_number":2269,"context_line":"        # a running instance can\u0027t be started."},{"line_number":2270,"context_line":"        self.assertRaises(exception.InstanceInvalidState,"},{"line_number":2271,"context_line":"                          self.cloud.start_instances,"},{"line_number":2272,"context_line":"                          self.context, [instance_id])"},{"line_number":2273,"context_line":"        rules \u003d {"},{"line_number":2274,"context_line":"            \"compute:reboot\":"},{"line_number":2275,"context_line":"                common_policy.parse_rule(\"project_id:non_fake\")"}],"source_content_type":"text/x-python","patch_set":13,"id":"AAAAUX%2F%2B6Fo%3D","line":2272,"in_reply_to":"AAAAUX%2F%2B6Wk%3D","updated":"2014-02-18 09:22:02.000000000","message":"Thanks, this is a mistake when a copy the code.","commit_id":"eab9cac56b849d529c826fd0b491d60237ef2330"}],"nova/tests/api/openstack/compute/plugins/v3/test_server_actions.py":[{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"cad2b50ade9cbf291cb0026207bfbc50e2e4e28a","unresolved":false,"context_lines":[{"line_number":192,"context_line":"        }"},{"line_number":193,"context_line":"        common_policy.set_rules(common_policy.Rules(rules))"},{"line_number":194,"context_line":"        body \u003d dict(reboot\u003ddict(type\u003d\"HARD\"))"},{"line_number":195,"context_line":"        req \u003d fakes.HTTPRequest.blank(self.url)"},{"line_number":196,"context_line":"        exc \u003d self.assertRaises(exception.PolicyNotAuthorized,"},{"line_number":197,"context_line":"                                self.controller._action_reboot,"},{"line_number":198,"context_line":"                                req, FAKE_UUID, body)"}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAAUX%2F%2Fp8g%3D","line":195,"updated":"2014-02-11 18:08:43.000000000","message":"HTTPRequestV3","commit_id":"75f5ab3d0c15745450037cf12a73b52586865619"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"83732210006912c445a31b0ec8be1c97140ddfb6","unresolved":false,"context_lines":[{"line_number":192,"context_line":"        }"},{"line_number":193,"context_line":"        common_policy.set_rules(common_policy.Rules(rules))"},{"line_number":194,"context_line":"        body \u003d dict(reboot\u003ddict(type\u003d\"HARD\"))"},{"line_number":195,"context_line":"        req \u003d fakes.HTTPRequest.blank(self.url)"},{"line_number":196,"context_line":"        exc \u003d self.assertRaises(exception.PolicyNotAuthorized,"},{"line_number":197,"context_line":"                                self.controller._action_reboot,"},{"line_number":198,"context_line":"                                req, FAKE_UUID, body)"}],"source_content_type":"text/x-python","patch_set":12,"id":"AAAAUX%2F%2FnZM%3D","line":195,"in_reply_to":"AAAAUX%2F%2Fp8g%3D","updated":"2014-02-12 00:03:52.000000000","message":"Done","commit_id":"75f5ab3d0c15745450037cf12a73b52586865619"}]}
