)]}'
{"ironic/tests/unit/drivers/modules/oneview/test_common.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"9a5975680577451994d5b3b221183f5e2ab1ee73","unresolved":false,"context_lines":[{"line_number":117,"context_line":"        )"},{"line_number":118,"context_line":"        # TODO(gabriel-bezerra): Simplify this after Mitaka"},{"line_number":119,"context_line":"        self.assertEqual("},{"line_number":120,"context_line":"            (\"Missing the keys for the following OneView data in node\u0027s \""},{"line_number":121,"context_line":"             \"driver_info: server_hardware_uri.\"),"},{"line_number":122,"context_line":"            str(exc))"},{"line_number":123,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a740942_1231f759","line":120,"updated":"2015-12-09 09:03:47.000000000","message":"I don\u0027t really like this stuff with checking the exception string, but it is used throughout this file, so lgtm.","commit_id":"55c246af85b2deb1b98bb31cdec82f2a91277f38"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"ebcf81704b264da08260c0cdae09da820801a06f","unresolved":false,"context_lines":[{"line_number":117,"context_line":"        )"},{"line_number":118,"context_line":"        # TODO(gabriel-bezerra): Simplify this after Mitaka"},{"line_number":119,"context_line":"        self.assertEqual("},{"line_number":120,"context_line":"            (\"Missing the keys for the following OneView data in node\u0027s \""},{"line_number":121,"context_line":"             \"driver_info: server_hardware_uri.\"),"},{"line_number":122,"context_line":"            str(exc))"},{"line_number":123,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a740942_ffeaddab","line":120,"in_reply_to":"7a740942_1231f759","updated":"2015-12-09 16:00:00.000000000","message":"Do you really want to check that the strings are equivalent, or are you looking to see if the exception contains some particular string to indicate that it is the exception you were expecting. If the latter, you can use self.assertRaisesRegex() instead.\n\nI also don\u0027t like this string comparison unless there is a good reason for it.","commit_id":"55c246af85b2deb1b98bb31cdec82f2a91277f38"}]}
