)]}'
{"searchlight/tests/unit/test_plugin_utils.py":[{"author":{"_account_id":14680,"name":"Rick Aulino","email":"rick.aulino@hpe.com","username":"ricka"},"change_message_id":"0b5f87a485730bb123bb1e34e0a412190e809985","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def test_multiple_alias_exception_detection(self):"},{"line_number":96,"context_line":"        alias_exc \u003d es_exceptions.RequestError("},{"line_number":97,"context_line":"            400, \"Something has more than one indices associated with it\", {})"},{"line_number":98,"context_line":"        self.assertTrue(plugin_utils._is_multiple_alias_exception(alias_exc))"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"        other_exc \u003d Exception(\"Blah blah\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba0121b8_8073f3e6","line":97,"updated":"2016-03-29 20:49:16.000000000","message":"It\u0027s bad enough we have this phrase hard-coded in one place! Now it\u0027s hard-coded in two. Since this is a unit test, maybe we should import ALIAS_EXCEPTION_STRING from elasticsearch/plugins/utils.py, prepend \"Something \" to it and use that in the RequestError call.\n\nThen when ES breaks us in the future we only need to make one change.","commit_id":"6b273551cbe3f2cfd8580dd8d3c283f8c5c21344"},{"author":{"_account_id":10063,"name":"Steve McLellan","email":"steven.j.mclellan@gmail.com","username":"sjmc7"},"change_message_id":"fa0867394fb041bc9d6a2a47220c3610923697e0","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"    def test_multiple_alias_exception_detection(self):"},{"line_number":96,"context_line":"        alias_exc \u003d es_exceptions.RequestError("},{"line_number":97,"context_line":"            400, \"Something has more than one indices associated with it\", {})"},{"line_number":98,"context_line":"        self.assertTrue(plugin_utils._is_multiple_alias_exception(alias_exc))"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"        other_exc \u003d Exception(\"Blah blah\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"ba0121b8_630b028f","line":97,"in_reply_to":"ba0121b8_8073f3e6","updated":"2016-03-30 21:34:20.000000000","message":"Generally i don\u0027t like using constants when i\u0027m explicitly testing something whose behavior is based on the value of the constant, but i don\u0027t feel strongly enough to argue either way so i\u0027ll have this use the constant","commit_id":"6b273551cbe3f2cfd8580dd8d3c283f8c5c21344"}]}
